diff --git a/specification/ai/Azure.AI.Projects/suppressions.yaml b/specification/ai/Azure.AI.Projects/suppressions.yaml new file mode 100644 index 000000000000..112e8f4e9857 --- /dev/null +++ b/specification/ai/Azure.AI.Projects/suppressions.yaml @@ -0,0 +1,12 @@ +- tool: TypeSpecValidation + paths: + - tspconfig.yaml + rules: + - SdkTspConfigValidation + sub-rules: + # Suppress validation for a Go emitter options + - options.@azure-tools/typespec-go.generate-fakes + - options.@azure-tools/typespec-go.inject-spans + - options.@azure-tools/typespec-go.service-dir + - options.@azure-tools/typespec-go.package-dir + reason: 'We do not yet have a Go client library' \ No newline at end of file diff --git a/specification/ai/Azure.AI.Projects/tspconfig.yaml b/specification/ai/Azure.AI.Projects/tspconfig.yaml index f83b1a79b6a9..582b8fb2ea7a 100644 --- a/specification/ai/Azure.AI.Projects/tspconfig.yaml +++ b/specification/ai/Azure.AI.Projects/tspconfig.yaml @@ -20,7 +20,7 @@ options: generate-sample: true "@azure-tools/typespec-csharp": package-mode: "dataplane" - package-dir: "Azure.AI.Projects.1DP" + package-dir: "Azure.AI.Projects" namespace: "{package-dir}" package-name: "{package-dir}" api-version: "2025-05-15-preview" @@ -30,12 +30,14 @@ options: generate-sample: false clear-output-folder: true "@azure-tools/typespec-ts": - package-dir: "ai-projects-1dp" + package-dir: "ai-projects" api-version: "2025-05-15-preview" - generateTest: true - generateMetadata: false - packageDetails: - name: "@azure/ai-projects-1dp" + is-modular-library: true + generate-test: true + generate-metadata: false + package-details: + name: "@azure/ai-projects" + description: "Azure AI Projects Client" flavor: azure "@azure-tools/typespec-java": package-dir: "azure-ai-projects" @@ -44,11 +46,6 @@ options: enable-sync-stack: true generate-tests: false flavor: azure - "@azure-tools/typespec-go": - service-dir: "sdk/ai/projects" - package-dir: "azaiprojects" - generate-fakes: true - inject-spans: true linter: extends: - "@azure-tools/typespec-azure-rulesets/data-plane" diff --git a/specification/ai/data-plane/Azure.AI.Projects/preview/2025-05-15-preview/azure-ai-projects-1dp.json b/specification/ai/data-plane/Azure.AI.Projects/preview/2025-05-15-preview/azure-ai-projects-1dp.json index a8865719685d..8b0259804ddd 100644 --- a/specification/ai/data-plane/Azure.AI.Projects/preview/2025-05-15-preview/azure-ai-projects-1dp.json +++ b/specification/ai/data-plane/Azure.AI.Projects/preview/2025-05-15-preview/azure-ai-projects-1dp.json @@ -2057,7 +2057,7 @@ }, "Azure.Core.Foundations.InnerError": { "type": "object", - "description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.", + "description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/microsoft/api-guidelines/blob/vNext/azure/Guidelines.md#handling-errors.", "properties": { "code": { "type": "string", diff --git a/specification/ai/data-plane/Azure.AI.Projects/stable/2025-05-01/azure-ai-projects-1dp.json b/specification/ai/data-plane/Azure.AI.Projects/stable/2025-05-01/azure-ai-projects-1dp.json index 6f232882345d..6ec38b170bae 100644 --- a/specification/ai/data-plane/Azure.AI.Projects/stable/2025-05-01/azure-ai-projects-1dp.json +++ b/specification/ai/data-plane/Azure.AI.Projects/stable/2025-05-01/azure-ai-projects-1dp.json @@ -1380,7 +1380,7 @@ }, "Azure.Core.Foundations.InnerError": { "type": "object", - "description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.", + "description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/microsoft/api-guidelines/blob/vNext/azure/Guidelines.md#handling-errors.", "properties": { "code": { "type": "string", diff --git a/specification/ai/data-plane/Azure.AI.Projects/stable/v1/azure-ai-projects-1dp.json b/specification/ai/data-plane/Azure.AI.Projects/stable/v1/azure-ai-projects-1dp.json index a2357a83b307..9ce7570bddfa 100644 --- a/specification/ai/data-plane/Azure.AI.Projects/stable/v1/azure-ai-projects-1dp.json +++ b/specification/ai/data-plane/Azure.AI.Projects/stable/v1/azure-ai-projects-1dp.json @@ -1380,7 +1380,7 @@ }, "Azure.Core.Foundations.InnerError": { "type": "object", - "description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.", + "description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/microsoft/api-guidelines/blob/vNext/azure/Guidelines.md#handling-errors.", "properties": { "code": { "type": "string",