Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
659b969
update default tag
msyyc Jun 24, 2025
a7a5598
init tsp
msyyc Jun 24, 2025
9d8108a
init swagger
msyyc Jun 24, 2025
8566e0b
add suppression for warning
msyyc Jun 24, 2025
59da501
fix body name
msyyc Jun 24, 2025
96596d7
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
msyyc Jul 1, 2025
9ec86ab
fix breaking
msyyc Jul 1, 2025
dff4286
Fix for nextlink
msyyc Jul 2, 2025
ad1ea07
fix for return type name of list operations
msyyc Jul 2, 2025
090f90c
fix body name
msyyc Jul 7, 2025
ce61871
fix for azure-async-operation
msyyc Jul 7, 2025
ab70921
fix for azure-async-operation
msyyc Jul 7, 2025
578b0bf
fix for azure-async-operation
msyyc Jul 7, 2025
99cc2e2
fix for azure-async-operation
msyyc Jul 7, 2025
cc88fd1
temp files
msyyc Jul 7, 2025
9328072
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
msyyc Jul 8, 2025
645ee1d
add @clientLocation and remove @operationId
msyyc Jul 8, 2025
da42cd5
use @clientLocation to replace @operationId
msyyc Jul 8, 2025
1409802
format
msyyc Jul 8, 2025
b696007
format
msyyc Jul 9, 2025
a19f2a9
format
msyyc Jul 9, 2025
3499da9
fix Swagger ModelValidation error INVALID_FORMAT
msyyc Jul 9, 2025
0b43f3d
make value optional to keep compatibility with swagger
msyyc Jul 9, 2025
a417d0a
add tspconfig.yaml
msyyc Jul 9, 2025
757a378
Merge branches 'support-tsp-migration' and 'main' of https://github.c…
msyyc Jul 22, 2025
27988b1
customize for no body common op
msyyc Jul 22, 2025
0af7957
customize for no body common op
msyyc Jul 22, 2025
d6a4027
format
msyyc Jul 22, 2025
49482f1
fix cspell
msyyc Jul 22, 2025
802f21f
fix ci
msyyc Jul 22, 2025
f82ec3e
fix ci
msyyc Jul 22, 2025
70d938b
fix ci
msyyc Jul 22, 2025
4780d61
resolve breaking
v-jiaodi Jul 30, 2025
e99085a
Merge branch 'main' into support-tsp-migration
msyyc Aug 6, 2025
a161443
update for empty union
msyyc Aug 6, 2025
f6cbc25
fix missing final result for lro
msyyc Aug 8, 2025
cde9cd3
Merge branch 'main' into support-tsp-migration
msyyc Aug 8, 2025
810e3af
update for @pageItems
msyyc Aug 8, 2025
0a009ef
Merge branch 'main' into support-tsp-migration
msyyc Aug 12, 2025
4611ffc
Merge branch 'main' into support-tsp-migration
msyyc Aug 13, 2025
c8d94de
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
msyyc Aug 21, 2025
4e01375
fix for pattern
msyyc Aug 21, 2025
bd75919
Merge branch 'main' into support-tsp-migration
msyyc Aug 22, 2025
3331035
Merge branch 'main' into support-tsp-migration
msyyc Aug 25, 2025
8d17a36
service-name
weidongxu-microsoft Aug 28, 2025
237112e
Merge branch 'main' into support-tsp-migration
v-jiaodi Aug 28, 2025
61848f9
remove legacy operation
Aug 28, 2025
3fcbcdb
Add emit-lro-options: "all"
melina5656 Aug 28, 2025
9edc306
remove csharp config
Aug 28, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
use @clientLocation to replace @operationid
  • Loading branch information
msyyc committed Jul 8, 2025
commit da42cd507ebdbe4a2c6a2d739f03fdd2f27640a7
15 changes: 4 additions & 11 deletions specification/support-diff/API_CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
## Swagger Changes

### Changes for `x-typespec-generated`

| Path | Change Type | Value |
|------|------------|-------|
| `info['x-typespec-generated__added']` | added | `[{"emitter":"@azure-tools/typespec-autorest"}]` |

### Changes for `pattern`

| Path | Change Type | Value |
Expand All @@ -17,13 +11,13 @@

| Path | Change Type | Value |
|------|------------|-------|
| `definitions.Operation__deleted` | deleted | `{"type":"object","properties":{"name":{"type":"string","readOnly":true},"display":{"properties":{"de...` |
| `definitions.Operation__deleted` | deleted | `{"type":"object","properties":{"name":{"type":"string","readOnly":true},"display":{"type":"object","...` |

### Changes for `OperationsListResult`

| Path | Change Type | Value |
|------|------------|-------|
| `definitions.OperationsListResult__deleted` | deleted | `{"properties":{"value":{"type":"array","items":{"$ref":"#/definitions/Operation"},"x-ms-identifiers"...` |
| `definitions.OperationsListResult__deleted` | deleted | `{"type":"object","properties":{"value":{"type":"array","items":{"$ref":"#/definitions/Operation"},"x...` |

### Changes for `TranscriptContentType`

Expand Down Expand Up @@ -72,7 +66,6 @@
| Path | Change Type | Value |
|------|------------|-------|
| `definitions.CommunicationDetails.properties.type__deleted` | deleted | `{"type":"string","readOnly":true}` |
| `definitions.MessageProperties.properties.contentType.type__deleted` | deleted | `string` |
| `definitions.ProblemClassification.properties.type__deleted` | deleted | `{"type":"string","readOnly":true}` |
| `definitions.Service.properties.type__deleted` | deleted | `{"type":"string","readOnly":true}` |
| `definitions.SupportTicketDetails.properties.type__deleted` | deleted | `{"type":"string","readOnly":true}` |
Expand All @@ -83,11 +76,11 @@
|------|------------|-------|
| `definitions.MessageProperties.properties.contentType['x-ms-enum__deleted']` | deleted | `{"name":"TranscriptContentType","modelAsString":true}` |

### Changes for `$ref`
### Changes for `x-nullable`

| Path | Change Type | Value |
|------|------------|-------|
| `definitions.MessageProperties.properties.contentType.$ref__added` | added | `#/definitions/TranscriptContentType` |
| `definitions.MessageProperties.properties.contentType['x-nullable__added']` | added | `false` |

### Changes for `description`

Expand Down
321 changes: 321 additions & 0 deletions specification/support-diff/diff.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,321 @@
{

Check failure on line 1 in specification/support-diff/diff.json

View check run for this annotation

Azure Pipelines / Swagger PrettierCheck

specification/support-diff/diff.json#L1

specification/support-diff/diff.json(1,1): error : Code style issues found, please run prettier. > npm install > npx prettier --write specification/support-diff/diff.json
"paths": {
"/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}": {
"put": {
"parameters": [
[
"~",
{
"pattern__deleted": "^[0-9a-zA-Z_\\-. ]+$"
}
],
[
"+",
{
"name": "resource",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/FileWorkspaceDetails"
}
}
]
]
}
},
"/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}": {
"put": {
"parameters": [
[
"-",
{
"name": "fileWorkspaceName",
"in": "path",
"required": true,
"type": "string",
"pattern": "^[0-9a-zA-Z_\\-. ]+$"
}
],
[
"+",
{
"name": "fileWorkspaceName",
"in": "path",
"required": true,
"type": "string"
}
],
[
" "
],
[
" "
]
]
}
},
"/providers/Microsoft.Support/operations": {
"get": {
"responses": {
"200": {
"schema": {
"$ref": {
"__old": "#/definitions/OperationsListResult",
"__new": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult"
}
}
}
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}": {
"put": {
"parameters": [
[
"~",
{
"pattern__deleted": "^[0-9a-zA-Z_\\-. ]+$"
}
],
[
"+",
{
"name": "resource",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/FileWorkspaceDetails"
}
}
]
]
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}": {
"put": {
"parameters": [
[
"-",
{
"name": "fileWorkspaceName",
"in": "path",
"required": true,
"type": "string",
"pattern": "^[0-9a-zA-Z_\\-. ]+$"
}
],
[
"+",
{
"name": "fileWorkspaceName",
"in": "path",
"required": true,
"type": "string"
}
],
[
" "
],
[
" "
]
]
}
}
},
"definitions": {
"Operation__deleted": {
"type": "object",
"properties": {
"name": {
"type": "string",
"readOnly": true
},
"display": {
"type": "object",
"properties": {
"description": {
"type": "string",
"description": "The description of the operation.",
"readOnly": true
},
"operation": {
"type": "string",
"description": "The action that users can perform, based on their permission level.",
"readOnly": true
},
"provider": {
"type": "string",
"description": "Service provider: Microsoft Support.",
"readOnly": true
},
"resource": {
"type": "string",
"description": "Resource on which the operation is performed.",
"readOnly": true
}
}
}
}
},
"OperationsListResult__deleted": {
"type": "object",
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "#/definitions/Operation"
},
"x-ms-identifiers": [
"name"
]
}
}
},
"TranscriptContentType__added": {
"type": "string",
"x-nullable": false
},
"ChatTranscriptsListResult": {
"required__added": [
"value"
]
},
"CommunicationDetails": {
"allOf__added": [
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
}
],
"properties": {
"id__deleted": {
"type": "string",
"readOnly": true
},
"name__deleted": {
"type": "string",
"readOnly": true
},
"type__deleted": {
"type": "string",
"readOnly": true
}
}
},
"CommunicationsListResult": {
"required__added": [
"value"
]
},
"FilesListResult": {
"required__added": [
"value"
]
},
"MessageProperties": {
"properties": {
"contentType": {
"x-ms-enum__deleted": {
"name": "TranscriptContentType",
"modelAsString": true
},
"x-nullable__added": false
}
}
},
"ProblemClassification": {
"allOf__added": [
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
}
],
"properties": {
"id__deleted": {
"type": "string",
"readOnly": true
},
"name__deleted": {
"type": "string",
"readOnly": true
},
"type__deleted": {
"type": "string",
"readOnly": true
}
}
},
"ProblemClassificationsListResult": {
"description__added": "[Placeholder] Discription for page model",
"properties": {
"nextLink__added": {
"type": "string",
"format": "uri",
"description": "[Placeholder] Discription for nextLink property"
},
"value": {
"description__added": "[Placeholder] Discription for value property"
}
}
},
"Service": {
"allOf__added": [
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
}
],
"properties": {
"id__deleted": {
"type": "string",
"readOnly": true
},
"name__deleted": {
"type": "string",
"readOnly": true
},
"type__deleted": {
"type": "string",
"readOnly": true
}
}
},
"ServicesListResult": {
"description__added": "[Placeholder] Discription for page model",
"properties": {
"nextLink__added": {
"type": "string",
"format": "uri",
"description": "[Placeholder] Discription for nextLink property"
},
"value": {
"description__added": "[Placeholder] Discription for value property"
}
}
},
"SupportTicketDetails": {
"allOf__added": [
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
}
],
"properties": {
"id__deleted": {
"type": "string",
"readOnly": true
},
"name__deleted": {
"type": "string",
"readOnly": true
},
"type__deleted": {
"type": "string",
"readOnly": true
}
}
},
"SupportTicketsListResult": {
"required__added": [
"value"
]
}
}
}
10 changes: 3 additions & 7 deletions specification/support-diff/newNormalizedSwagger.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
{

Check failure on line 1 in specification/support-diff/newNormalizedSwagger.json

View check run for this annotation

Azure Pipelines / Swagger PrettierCheck

specification/support-diff/newNormalizedSwagger.json#L1

specification/support-diff/newNormalizedSwagger.json(1,1): error : Code style issues found, please run prettier. > npm install > npx prettier --write specification/support-diff/newNormalizedSwagger.json
"swagger": "2.0",
"info": {
"title": "Microsoft.Support",
"version": "2024-04-01",
"description": "Microsoft Azure Support Resource Provider.",
"x-typespec-generated": [
{
"emitter": "@azure-tools/typespec-autorest"
}
]
"description": "Microsoft Azure Support Resource Provider."
},
"produces": [
"application/json"
Expand Down Expand Up @@ -1952,7 +1947,8 @@
"type": "object",
"properties": {
"contentType": {
"$ref": "#/definitions/TranscriptContentType",
"type": "string",
"x-nullable": false,
"readOnly": true
},
"communicationDirection": {
Expand Down
Loading
Loading