Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
Fix examples
  • Loading branch information
ankushbindlish2 committed Jul 29, 2025
commit c073769c6a8a89fd9a1f7d55fff89c375371c752
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"title": "FileShareSnapshot_List_MinimumSet",
"operationId": "FileShareSnapshot_List",
"parameters": {
"api-version": "2025-06-01-preview",
"subscriptionId": "0681745E-3F9F-4966-80E6-69624A3B29F2",
"resourceGroupName": "rgfileshares",
"resourceName": "Replace this value with a string matching RegExp ^([a-z]|[0-9])([a-z]|[0-9]|(-(?!-))){1,61}([a-z]|[0-9])$"
},
"responses": {
"200": {
"body": {
"value": []
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"title": "FileShares_ListByParent_MinimumSet",
"operationId": "FileShares_ListByParent",
"parameters": {
"api-version": "2025-06-01-preview",
"subscriptionId": "0681745E-3F9F-4966-80E6-69624A3B29F2",
"resourceGroupName": "rgfileshares"
},
"responses": {
"200": {
"body": {
"value": []
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"title": "FileShares_ListBySubscription_MinimumSet",
"operationId": "FileShares_ListBySubscription",
"parameters": {
"api-version": "2025-06-01-preview",
"subscriptionId": "0681745E-3F9F-4966-80E6-69624A3B29F2"
},
"responses": {
"200": {
"body": {
"value": []
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"title": "FileShareSnapshot_List_MinimumSet - generated by [MinimumSet] rule",
"title": "FileShareSnapshot_List_MinimumSet",
"operationId": "FileShareSnapshot_List",
"parameters": {
"api-version": "2025-06-01-preview",
"subscriptionId": "0681745E-3F9F-4966-80E6-69624A3B29F2",
"resourceGroupName": "rgfileshares",
"resourceName": "Replace this value with a string matching RegExp ^([a-z]|[0-9])([a-z]|[0-9]|(-(?!-))){1,61}([a-z]|[0-9])$"

Check failure on line 8 in specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/examples/FileShareSnapshot_List_MinimumSet_Gen.json

View workflow job for this annotation

GitHub Actions / [TEST-IGNORE] Swagger ModelValidation

PATTERN: String does not match pattern ^([a-z]|[0-9])([a-z]|[0-9]|(-(?!-))){1,61}([a-z]|[0-9])$: Replace this value with a string matching RegExp ^([a-z]|[0-9])([a-z]|[0-9]|(-(?!-))){1,61}([a-z]|[0-9])$
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"title": "FileShares_ListByParent_MaximumSet - generated by [MinimumSet] rule",
"title": "FileShares_ListByParent_MinimumSet",
"operationId": "FileShares_ListByParent",
"parameters": {
"api-version": "2025-06-01-preview",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"title": "FileShares_ListBySubscription_MaximumSet - generated by [MinimumSet] rule",
"title": "FileShares_ListBySubscription_MinimumSet",
"operationId": "FileShares_ListBySubscription",
"parameters": {
"api-version": "2025-06-01-preview",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{

Check failure on line 1 in specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/fileshares.json

View check run for this annotation

Azure Pipelines / Swagger PrettierCheck

specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/fileshares.json#L1

specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/fileshares.json(1,1): error : Code style issues found, please run prettier. > npm install > npx prettier --write specification/fileshares/resource-manager/Microsoft.FileShares/preview/2025-06-01-preview/fileshares.json
"swagger": "2.0",
"info": {
"title": "Microsoft.FileShares",
Expand Down Expand Up @@ -80,10 +80,10 @@
}
},
"x-ms-examples": {
"Operations_List_MaximumSet_Gen": {
"Operations_List_MaximumSet": {
"$ref": "./examples/Operations_List_MaximumSet_Gen.json"
},
"Operations_List_MinimumSet_Gen": {
"Operations_List_MinimumSet": {
"$ref": "./examples/Operations_List_MinimumSet_Gen.json"
}
},
Expand Down Expand Up @@ -122,10 +122,10 @@
}
},
"x-ms-examples": {
"FileShares_ListBySubscription_MaximumSet_Gen": {
"FileShares_ListBySubscription_MaximumSet": {
"$ref": "./examples/FileShares_ListBySubscription_MaximumSet_Gen.json"
},
"FileShares_ListBySubscription_MinimumSet_Gen": {
"FileShares_ListBySubscription_MinimumSet": {
"$ref": "./examples/FileShares_ListBySubscription_MinimumSet_Gen.json"
}
},
Expand Down Expand Up @@ -176,10 +176,10 @@
}
},
"x-ms-examples": {
"FileShares_CheckNameAvailability_MaximumSet_Gen": {
"FileShares_CheckNameAvailability_MaximumSet": {
"$ref": "./examples/FileShares_CheckNameAvailability_MaximumSet_Gen.json"
},
"FileShares_CheckNameAvailability_MinimumSet_Gen": {
"FileShares_CheckNameAvailability_MinimumSet": {
"$ref": "./examples/FileShares_CheckNameAvailability_MinimumSet_Gen.json"
}
}
Expand Down Expand Up @@ -218,10 +218,10 @@
}
},
"x-ms-examples": {
"FileShare_GetLimits_MaximumSet_Gen": {
"FileShare_GetLimits_MaximumSet": {
"$ref": "./examples/FileShare_GetLimits_MaximumSet_Gen.json"
},
"FileShare_GetLimits_MinimumSet_Gen": {
"FileShare_GetLimits_MinimumSet": {
"$ref": "./examples/FileShare_GetLimits_MinimumSet_Gen.json"
}
}
Expand Down Expand Up @@ -269,10 +269,10 @@
}
},
"x-ms-examples": {
"FileShare_GetProvisioningRecommendation_MaximumSet_Gen": {
"FileShare_GetProvisioningRecommendation_MaximumSet": {
"$ref": "./examples/FileShare_GetProvisioningRecommendation_MaximumSet_Gen.json"
},
"FileShare_GetProvisioningRecommendation_MinimumSet_Gen": {
"FileShare_GetProvisioningRecommendation_MinimumSet": {
"$ref": "./examples/FileShare_GetProvisioningRecommendation_MinimumSet_Gen.json"
}
}
Expand Down Expand Up @@ -311,10 +311,10 @@
}
},
"x-ms-examples": {
"FileShare_GetUsageData_MaximumSet_Gen": {
"FileShare_GetUsageData_MaximumSet": {
"$ref": "./examples/FileShare_GetUsageData_MaximumSet_Gen.json"
},
"FileShare_GetUsageData_MinimumSet_Gen": {
"FileShare_GetUsageData_MinimumSet": {
"$ref": "./examples/FileShare_GetUsageData_MinimumSet_Gen.json"
}
}
Expand Down Expand Up @@ -353,10 +353,10 @@
}
},
"x-ms-examples": {
"FileShares_ListByParent_MaximumSet_Gen": {
"FileShares_ListByParent_MaximumSet": {
"$ref": "./examples/FileShares_ListByParent_MaximumSet_Gen.json"
},
"FileShares_ListByParent_MinimumSet_Gen": {
"FileShares_ListByParent_MinimumSet": {
"$ref": "./examples/FileShares_ListByParent_MinimumSet_Gen.json"
}
},
Expand Down Expand Up @@ -406,7 +406,7 @@
}
},
"x-ms-examples": {
"FileShares_Get_MaximumSet_Gen": {
"FileShares_Get_MaximumSet": {
"$ref": "./examples/FileShares_Get_MaximumSet_Gen.json"
}
}
Expand Down Expand Up @@ -477,7 +477,7 @@
}
},
"x-ms-examples": {
"FileShares_CreateOrUpdate_MaximumSet_Gen": {
"FileShares_CreateOrUpdate_MaximumSet": {
"$ref": "./examples/FileShares_CreateOrUpdate_MaximumSet_Gen.json"
}
},
Expand Down Expand Up @@ -549,7 +549,7 @@
}
},
"x-ms-examples": {
"FileShares_Update_MaximumSet_Gen": {
"FileShares_Update_MaximumSet": {
"$ref": "./examples/FileShares_Update_MaximumSet_Gen.json"
}
},
Expand Down Expand Up @@ -609,7 +609,7 @@
}
},
"x-ms-examples": {
"FileShares_Delete_MaximumSet_Gen": {
"FileShares_Delete_MaximumSet": {
"$ref": "./examples/FileShares_Delete_MaximumSet_Gen.json"
}
},
Expand Down Expand Up @@ -660,10 +660,10 @@
}
},
"x-ms-examples": {
"FileShareSnapshot_List_MaximumSet_Gen": {
"FileShareSnapshot_List_MaximumSet": {
"$ref": "./examples/FileShareSnapshot_List_MaximumSet_Gen.json"
},
"FileShareSnapshot_List_MinimumSet_Gen": {
"FileShareSnapshot_List_MinimumSet": {
"$ref": "./examples/FileShareSnapshot_List_MinimumSet_Gen.json"
}
},
Expand Down Expand Up @@ -721,7 +721,7 @@
}
},
"x-ms-examples": {
"FileShareSnapshot_Get_MaximumSet_Gen": {
"FileShareSnapshot_Get_MaximumSet": {
"$ref": "./examples/FileShareSnapshot_Get_MaximumSet_Gen.json"
}
}
Expand Down Expand Up @@ -795,7 +795,7 @@
}
},
"x-ms-examples": {
"FileShareSnapshot_CreateOrUpdate_MaximumSet_Gen": {
"FileShareSnapshot_CreateOrUpdate_MaximumSet": {
"$ref": "./examples/FileShareSnapshot_CreateOrUpdate_MaximumSet_Gen.json"
}
},
Expand Down Expand Up @@ -879,7 +879,7 @@
}
},
"x-ms-examples": {
"FileShareSnapshot_Update_MaximumSet_Gen": {
"FileShareSnapshot_Update_MaximumSet": {
"$ref": "./examples/FileShareSnapshot_Update_MaximumSet_Gen.json"
}
},
Expand Down Expand Up @@ -947,7 +947,7 @@
}
},
"x-ms-examples": {
"FileShareSnapshot_Delete_MaximumSet_Gen": {
"FileShareSnapshot_Delete_MaximumSet": {
"$ref": "./examples/FileShareSnapshot_Delete_MaximumSet_Gen.json"
}
},
Expand Down
Loading