diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 000000000000..0f6076afa596 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,27 @@ +--- +name: Bug Report +about: Report bugs. +--- +### Bug Report + + + +- What is your query? + +- What is the link if your query contain a github spec PR? + +- What is the problem? + +- What is your expectation? + +- What is the Screenshot if have? + +- What is the link to your post in Teams Channel? + +- Anything we should know about your environment. + + diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 000000000000..3ba13e0cec6c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1 @@ +blank_issues_enabled: false diff --git a/README.md b/README.md index 838227728eb7..011b74adb726 100644 --- a/README.md +++ b/README.md @@ -180,3 +180,5 @@ External Contributors can read [Getting Started with OpenAPI Specifications](htt --- _This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments._ + +test pr 5 diff --git a/specification/ai/HealthInsights/HealthInsights.RadiologyInsights/main.tsp b/specification/ai/HealthInsights/HealthInsights.RadiologyInsights/main.tsp new file mode 100644 index 000000000000..8fd5abee8c4c --- /dev/null +++ b/specification/ai/HealthInsights/HealthInsights.RadiologyInsights/main.tsp @@ -0,0 +1,21 @@ +import "@azure-tools/typespec-azure-core"; +import "@typespec/rest"; +import "@typespec/http"; + +import "../HealthInsights.OpenAPI/service.tsp"; + +using Azure.Core; +using TypeSpec.Rest; +using TypeSpec.Http; + +namespace AzureHealthInsights; + +interface RadiologyInsights { + #suppress "@azure-tools/typespec-azure-core/no-rpc-path-params" "Service uses a jobId in the path" + @summary("Get Radiology Insights job details") + @tag("RadiologyInsights") + @doc("Gets the status and details of the Radiology Insights job.") + @get + @route("/radiology-insights/jobs/{id}") + getJob(@path id: string): OkResponse; +} diff --git a/specification/ai/HealthInsights/HealthInsights.RadiologyInsights/tspconfig.yaml b/specification/ai/HealthInsights/HealthInsights.RadiologyInsights/tspconfig.yaml new file mode 100644 index 000000000000..7c7ea6d6593b --- /dev/null +++ b/specification/ai/HealthInsights/HealthInsights.RadiologyInsights/tspconfig.yaml @@ -0,0 +1,52 @@ +parameters: + "service-dir": + default: "sdk/healthinsights" + "service-name": + default: "HealthInsights" + "dependencies": + "additionalDirectories": + - "specification/ai/HealthInsights/HealthInsights.Common/" + - "specification/ai/HealthInsights/HealthInsights.OpenAPI/" + default: "" + "python-sdk-folder": + default: "{project-root}/azure-sdk-for-python/" + "java-sdk-folder": + default: "{project-root}/azure-sdk-for-java/" + "js-sdk-folder": + default: "{project-root}/azure-sdk-for-js/" + "csharp-sdk-folder": + default: "{project-root}/azure-sdk-for-net/" + "service-directory-name": + default: "healthinsights" +emit: + - "@azure-tools/typespec-autorest" +linter: + extends: + - "@azure-tools/typespec-azure-core/all" +options: + "@azure-tools/typespec-python": + package-pprint-name: '"Azure Health Insights - Radiology Insights"' + package-mode: "dataplane" + package-version: 1.0.0b1 + package-dir: "azure-healthinsights-radiologyinsights" + package-name: "{package-dir}" + emitter-output-dir: "{python-sdk-folder}/sdk/{service-directory-name}/{package-name}" + "@azure-tools/typespec-java": + package-dir: "azure-health-insights-radiologyinsights" + namespace: com.azure.health.insights.radiologyinsights + service-name: "RadiologyInsights" + partial-update: true + emitter-output-dir: "{java-sdk-folder}/sdk/{service-directory-name}/azure-health-insights-radiologyinsights" + "@azure-tools/typespec-csharp": + save-inputs: false + clear-output-folder: true + package-dir: "Azure.Health.Insights.RadiologyInsights" + namespace: "{package-dir}" + model-namespace: false + "@azure-tools/typespec-ts": + package-dir: "azurehealthinsightsradiologyinsights-rest" + emitter-output-dir: "{js-sdk-folder}/sdk/{service-directory-name}/health-insights-cancerprofiling-rest" + generateMetadata: true + generateTest: true + packageDetails: + name: "@azure-rest/health-insights-radiologyinsights" \ No newline at end of file diff --git a/specification/cognitiveservices/OpenAI.Inference/models/completions/functions.tsp b/specification/cognitiveservices/OpenAI.Inference/models/completions/functions.tsp index 7f33c7ae24af..abd6be667e69 100644 --- a/specification/cognitiveservices/OpenAI.Inference/models/completions/functions.tsp +++ b/specification/cognitiveservices/OpenAI.Inference/models/completions/functions.tsp @@ -29,6 +29,7 @@ enum FunctionCallPreset { @doc(""" Specifies that the model should not respond with a function call and should instead provide a standard chat completions response. Response content may still be influenced by the provided function information. + Doc change. """) none: "none", } diff --git a/specification/compute/resource-manager/sdk-suppressions.yml b/specification/compute/resource-manager/sdk-suppressions.yml new file mode 100644 index 000000000000..6f4c3446273e --- /dev/null +++ b/specification/compute/resource-manager/sdk-suppressions.yml @@ -0,0 +1,30 @@ +suppressions: + - azure-sdk-for-go: + - package: armcognitiveservices + breaking-changes: + - Function `*LocalRulestacksClient.ListAppIDs` has been removed + - Function `*LocalRulestacksClient.ListCountries` has been removed + - Function `*LocalRulestacksClient.ListPredefinedURLCategories` has been removed + - package: armcompute + breaking-changes: + - Type of `CloudServiceExtensionProperties.ProtectedSettings` has been changed from `any` to `interface{} + - Function `NewClientFactory` has been removed + - Function `*LocalRulestacksClient.ListPredefinedURLCategories` has been removed + - package: armresourcemover + breaking-changes: + - "Type of `OperationStatus.Properties` has been changed from `map[string]interface{}` to `interface{}`" + - "Type of `OperationsDiscovery.Properties` has been changed from `map[string]interface{}` to `interface{}`" + + - azure-sdk-for-js: + - package: arm-operationalinsights + breaking-changes: + - "Removed operation group Schema" + - "Removed operation Tables.create" + - package: arm-subscriptions + breaking-changes: + - "Interface CanceledSubscriptionId no longer has parameter value" + - "Interface EnabledSubscriptionId no longer has parameter value" + - azure-sdk-for-python-track2: + - package: track2_azure-mgmt-sql + breaking-changes: + - "Removed operation ReplicationLinksOperations.delete" diff --git a/specification/liftrastronomer/Astronomer.Astro.Management/main.tsp b/specification/liftrastronomer/Astronomer.Astro.Management/main.tsp index 6197606d541f..7c5a67b5a51d 100644 --- a/specification/liftrastronomer/Astronomer.Astro.Management/main.tsp +++ b/specification/liftrastronomer/Astronomer.Astro.Management/main.tsp @@ -20,7 +20,7 @@ using LiftrBase.Data; @versioned(Astronomer.Astro.Versions) namespace Astronomer.Astro; -@doc("Supported API versions for the Astronomer.Astro resource provider.") +@doc("Supported API versions for the Astronomer.Astro resource provider.") enum Versions { @doc("Dependent on Azure.ResourceManager.Versions.v1_0_Preview_1, LiftrBase.Versions.v1_preview, LiftrBase.Data.Versions.v1_preview") @useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) diff --git a/specificationRepositoryConfiguration.json b/specificationRepositoryConfiguration.json index 0ddbbe026169..b7baebd03c0d 100644 --- a/specificationRepositoryConfiguration.json +++ b/specificationRepositoryConfiguration.json @@ -43,6 +43,48 @@ } }, "overrides": { + "test-repo-billy/azure-rest-api-specs": { + "sdkRepositoryMappings": { + "azure-sdk-for-go": { + "mainRepository": "openapi-env-test/azure-sdk-for-go", + "mainBranch": "main", + "configFilePath": "eng/swagger_to_sdk_config.json" + }, + "azure-sdk-for-python-track2": { + "mainRepository": "openapi-env-test/azure-sdk-for-python", + "mainBranch": "main" + }, + "azure-sdk-for-net-track2": { + "mainRepository": "openapi-env-test/azure-sdk-for-net", + "mainBranch": "main", + "configFilePath": "eng/swagger_to_sdk_config.json" + }, + "azure-sdk-for-net": { + "mainRepository": "openapi-env-test/azure-sdk-for-net" + }, + "azure-sdk-for-python": { + "mainRepository": "openapi-env-test/azure-sdk-for-python", + "mainBranch": "main" + }, + "azure-sdk-for-js": { + "mainRepository": "openapi-env-test/azure-sdk-for-js", + "mainBranch": "main" + }, + "azure-sdk-for-java": { + "mainRepository": "test-repo-billy/azure-sdk-for-java", + "mainBranch": "eng_migrate-tsp-client", + "configFilePath": "eng/mgmt/automation/swagger_to_sdk_config.json" + }, + "azure-resource-manager-schemas": { + "integrationRepository": "azure-sdk/azure-resource-manager-schemas", + "mainRepository": "Azure/azure-resource-manager-schemas" + }, + "azure-powershell": { + "integrationRepository": "azure-sdk/azure-powershell", + "mainRepository": "Azure/azure-powershell" + } + } + }, "Azure/azure-rest-api-specs-pr": { "sdkRepositoryMappings": { "azure-sdk-for-go": {