Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
d401f9b
Prepare specs for no-url-suffix lint rule
haiyuazhang Jun 26, 2026
8d332ee
Remove duplicate csharp-no-url-suffix suppressions
haiyuazhang Jun 30, 2026
5df7289
Remove non-adjacent duplicate csharp-no-url-suffix suppressions
haiyuazhang Jun 30, 2026
8a2e279
Move no-url-suffix to client-sdk ruleset: extend it for client-SDK sp…
haiyuazhang Jun 30, 2026
d0974b5
Pin typespec-azure deps to immutable commit URL (fix npm ci EINTEGRITY)
haiyuazhang Jun 30, 2026
f2705aa
Restore suppressions for shared sub-models consumed by client-SDK par…
haiyuazhang Jun 30, 2026
419265e
Bump typespec-azure deps to @4541 build .1525 (includes #4730 overrid…
haiyuazhang Jun 30, 2026
6dd46aa
Use released 0.69.2 for tcgc/rulesets/resource-manager (drop pkg.pr.n…
haiyuazhang Jul 1, 2026
f38f63f
Keep resource-manager at 0.69.1; suppress 11 url-suffix violations un…
haiyuazhang Jul 1, 2026
114f499
Add npm override so rulesets 0.69.2 accepts resource-manager 0.69.1
haiyuazhang Jul 1, 2026
22d3dd6
Bump typespec-azure-resource-manager to 0.69.2 and regenerate affecte…
haiyuazhang Jul 3, 2026
582cd88
Merge remote-tracking branch 'origin/main' into haiyzhan/fix-no-url-s…
haiyuazhang Jul 3, 2026
e7ef192
Merge remote-tracking branch 'origin/main' into haiyzhan/fix-no-url-s…
haiyuazhang Jul 3, 2026
1b9bbaf
Merge remote-tracking branch 'origin/main' into haiyzhan/fix-no-url-s…
haiyuazhang Jul 7, 2026
aca7ec2
Suppress 5 url-suffix violations in developerhub (surfaced after merge)
haiyuazhang Jul 7, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
20 changes: 10 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"name": "azure-rest-api-specs",
"devDependencies": {
Expand All @@ -10,9 +10,9 @@
"@azure-tools/typespec-azure-core": "0.69.0",
"@azure-tools/typespec-azure-portal-core": "0.69.0",
"@azure-tools/typespec-azure-resource-manager": "0.69.2",
"@azure-tools/typespec-azure-rulesets": "0.69.1",
"@azure-tools/typespec-azure-rulesets": "0.69.2",
"@azure-tools/typespec-client-generator-cli": "0.33.1",
"@azure-tools/typespec-client-generator-core": "0.69.0",
"@azure-tools/typespec-client-generator-core": "0.69.2",
"@azure-tools/typespec-liftr-base": "0.13.0",
"@azure-tools/typespec-metadata": "0.2.0",
"@azure/avocado": "0.11.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,4 @@ options:
linter:
extends:
- "@azure-tools/typespec-azure-rulesets/resource-manager"
- "@azure-tools/typespec-azure-rulesets/client-sdk"
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ emit:
linter:
extends:
- "@azure-tools/typespec-azure-rulesets/resource-manager"
- "@azure-tools/typespec-azure-rulesets/client-sdk"
options:
"@azure-tools/typespec-autorest":
emitter-output-dir: "{output-dir}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ imports:
linter:
extends:
- "@azure-tools/typespec-azure-rulesets/data-plane"
- "@azure-tools/typespec-azure-rulesets/client-sdk"
disable:
"@azure-tools/typespec-azure-core/casing-style": "Since we have many names in the form XxxxAIXxxx"
"@azure-tools/typespec-azure-core/no-string-discriminator": "Use an extensible union instead of a plain string"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ imports:
linter:
extends:
- "@azure-tools/typespec-azure-rulesets/data-plane"
- "@azure-tools/typespec-azure-rulesets/client-sdk"
disable:
"@azure-tools/typespec-azure-core/casing-style": "Since we have many names in the form XxxxAIXxxx"
"@azure-tools/typespec-azure-core/no-string-discriminator": "Use an extensible union instead of a plain string"
Expand Down
1 change: 1 addition & 0 deletions specification/ai/Azure.AI.Agents/messages/models.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ model MessageInputImageUrlBlock extends MessageInputContentBlock {
@doc("Must be 'image_url' for an externally hosted image block.")
type: "image_url";

#suppress "@azure-tools/typespec-client-generator-core/csharp-no-url-suffix" "Name kept for backward compatibility"
@doc("Information about the external image URL, including the URL and optional detail level.")
@encodedName("application/json", "image_url")
imageUrl: MessageImageUrlParam;
Expand Down
2 changes: 2 additions & 0 deletions specification/ai/Azure.AI.Agents/tools/models.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ model MCPToolDefinition extends ToolDefinition {
@encodedName("application/json", "server_label")
serverLabel: string;

#suppress "@azure-tools/typespec-client-generator-core/csharp-no-url-suffix" "Name kept for backward compatibility"
@doc("The endpoint for the MCP server")
@encodedName("application/json", "server_url")
serverUrl: string;
Expand Down Expand Up @@ -1466,6 +1467,7 @@ model ComputerScreenshot {
@encodedName("application/json", "file_id")
fileId?: string;

#suppress "@azure-tools/typespec-client-generator-core/csharp-no-url-suffix" "Name kept for backward compatibility"
@doc("The URL of the screenshot image.")
@encodedName("application/json", "image_url")
imageUrl?: string;
Expand Down
1 change: 1 addition & 0 deletions specification/ai/Azure.AI.Agents/tspconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ options:
linter:
extends:
- "@azure-tools/typespec-azure-rulesets/data-plane"
- "@azure-tools/typespec-azure-rulesets/client-sdk"
disable:
"@azure-tools/typespec-azure-core/casing-style": "Since we have many names in the form XxxxAIXxxx"
"@azure-tools/typespec-azure-core/no-string-discriminator": "Use an extensible union instead of a plain string"
Expand Down
1 change: 1 addition & 0 deletions specification/ai/ContentUnderstanding/models.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ model LabeledDataKnowledgeSource extends KnowledgeSource {
@doc("A blob container containing labeled data.")
kind: KnowledgeSourceKind.labeledData;

#suppress "@azure-tools/typespec-client-generator-core/csharp-no-url-suffix" "Name kept for backward compatibility"
@doc("The URL of the blob container containing labeled data.")
containerUrl: url;

Expand Down
1 change: 1 addition & 0 deletions specification/ai/ContentUnderstanding/tspconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ emit:
linter:
extends:
- "@azure-tools/typespec-azure-rulesets/data-plane"
- "@azure-tools/typespec-azure-rulesets/client-sdk"

options:
"@azure-tools/typespec-autorest":
Expand Down
5 changes: 5 additions & 0 deletions specification/ai/DocumentIntelligence/models.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,7 @@ model AnalyzeBatchDocumentsRequest {
""")
azureBlobFileListSource?: AzureBlobFileListContentSource;

#suppress "@azure-tools/typespec-client-generator-core/csharp-no-url-suffix" "Name kept for backward compatibility"
@doc("Azure Blob Storage container URL where analyze result files will be stored.")
resultContainerUrl: url;

Expand Down Expand Up @@ -514,9 +515,11 @@ model AnalyzeBatchOperationDetail {
@doc("Analyze status. succeeded, failed, or skipped")
status: DocumentIntelligenceOperationStatus;

#suppress "@azure-tools/typespec-client-generator-core/csharp-no-url-suffix" "Name kept for backward compatibility"
@doc("URL of the source document.")
sourceUrl: url;

#suppress "@azure-tools/typespec-client-generator-core/csharp-no-url-suffix" "Name kept for backward compatibility"
@doc("URL of the analyze result JSON.")
resultUrl?: url;

Expand Down Expand Up @@ -1187,6 +1190,7 @@ model BuildDocumentModelRequest {

@doc("Azure Blob Storage content.")
model AzureBlobContentSource {
#suppress "@azure-tools/typespec-client-generator-core/csharp-no-url-suffix" "Name kept for backward compatibility"
@doc("Azure Blob Storage container URL.")
containerUrl: url;

Expand All @@ -1196,6 +1200,7 @@ model AzureBlobContentSource {

@doc("File list in Azure Blob Storage.")
model AzureBlobFileListContentSource {
#suppress "@azure-tools/typespec-client-generator-core/csharp-no-url-suffix" "Name kept for backward compatibility"
@doc("Azure Blob Storage container URL.")
containerUrl: url;

Expand Down
1 change: 1 addition & 0 deletions specification/ai/DocumentIntelligence/tspconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ emit:
linter:
extends:
- "@azure-tools/typespec-azure-rulesets/data-plane"
- "@azure-tools/typespec-azure-rulesets/client-sdk"
options:
"@azure-typespec/http-client-csharp":
emitter-output-dir: "{output-dir}/{service-dir}/{namespace}"
Expand Down
2 changes: 2 additions & 0 deletions specification/ai/Face/main.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ model AADToken
is OAuth2Auth<[
{
type: OAuth2FlowType.authorizationCode;
#suppress "@azure-tools/typespec-client-generator-core/csharp-no-url-suffix" "Name kept for backward compatibility"
authorizationUrl: "https://api.example.com/oauth2/authorize";
#suppress "@azure-tools/typespec-client-generator-core/csharp-no-url-suffix" "Name kept for backward compatibility"
tokenUrl: "https://api.example.com/oauth2/token";
scopes: ["https://cognitiveservices.azure.com/.default"];
}
Expand Down
1 change: 1 addition & 0 deletions specification/ai/Face/tspconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ options:
linter:
extends:
- "@azure-tools/typespec-azure-rulesets/data-plane"
- "@azure-tools/typespec-azure-rulesets/client-sdk"
disable:
"@azure-tools/typespec-azure-core/operation-missing-api-version": "API version located in the host template"
"@azure-tools/typespec-azure-core/use-standard-operations": "Most of our operation doesn't fit standard ops"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ emit:
linter:
extends:
- "@azure-tools/typespec-azure-rulesets/data-plane"
- "@azure-tools/typespec-azure-rulesets/client-sdk"
options:
"@azure-tools/typespec-python":
package-pprint-name: '"Azure Health Insights - Radiology Insights"'
Expand Down
1 change: 1 addition & 0 deletions specification/ai/ImageAnalysis/routes.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ op analyzeFromUrl is Azure.Core.RpcOperation<
@header
contentType: "application/json";

#suppress "@azure-tools/typespec-client-generator-core/csharp-no-url-suffix" "Name kept for backward compatibility"
@doc("The image to be analyzed")
@bodyRoot
imageUrl: ImageUrl;
Expand Down
1 change: 1 addition & 0 deletions specification/ai/ImageAnalysis/tspconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ emit:
linter:
extends:
- "@azure-tools/typespec-azure-rulesets/data-plane"
- "@azure-tools/typespec-azure-rulesets/client-sdk"
options:
"@azure-tools/typespec-autorest":
emitter-output-dir: "{project-root}/../"
Expand Down
1 change: 1 addition & 0 deletions specification/ai/OpenAI.Assistants/tspconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ emit:
linter:
extends:
- "@azure-tools/typespec-azure-rulesets/data-plane"
- "@azure-tools/typespec-azure-rulesets/client-sdk"
options:
"@azure-tools/typespec-autorest":
emitter-output-dir: "{project-root}/../"
Expand Down
1 change: 1 addition & 0 deletions specification/ai/data-plane/VoiceLive/tspconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ emit:
linter:
extends:
- "@azure-tools/typespec-azure-rulesets/data-plane"
- "@azure-tools/typespec-azure-rulesets/client-sdk"
options:
"@azure-tools/typespec-autorest":
emitter-output-dir: "{project-root}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,4 @@ options:
linter:
extends:
- "@azure-tools/typespec-azure-rulesets/resource-manager"
- "@azure-tools/typespec-azure-rulesets/client-sdk"
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,4 @@ options:
linter:
extends:
- "@azure-tools/typespec-azure-rulesets/resource-manager"
- "@azure-tools/typespec-azure-rulesets/client-sdk"
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,4 @@ options:
linter:
extends:
- "@azure-tools/typespec-azure-rulesets/resource-manager"
- "@azure-tools/typespec-azure-rulesets/client-sdk"
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,4 @@ options:
linter:
extends:
- "@azure-tools/typespec-azure-rulesets/resource-manager"
- "@azure-tools/typespec-azure-rulesets/client-sdk"
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,4 @@ options:
linter:
extends:
- "@azure-tools/typespec-azure-rulesets/resource-manager"
- "@azure-tools/typespec-azure-rulesets/client-sdk"
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,4 @@ options:
linter:
extends:
- "@azure-tools/typespec-azure-rulesets/resource-manager"
- "@azure-tools/typespec-azure-rulesets/client-sdk"
1 change: 1 addition & 0 deletions specification/apicenter/ApiCenter.DataApi/tspconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ options:
linter:
extends:
- "@azure-tools/typespec-azure-rulesets/data-plane"
- "@azure-tools/typespec-azure-rulesets/client-sdk"
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ options:
linter:
extends:
- "@azure-tools/typespec-azure-rulesets/resource-manager"
- "@azure-tools/typespec-azure-rulesets/client-sdk"
Loading
Loading