Swagger changes to introduce REST APIs for offline and online region for the Cosmos DB account#2962
Conversation
AutoRest linter results for ARM Related Validation Errors/WarningsThese errors are reported by the ARM team's validation tools, reachout to ARM RP API Review directly for any questions or concerns. File: specification/cosmos-db/resource-manager/readme.md
|
AutoRest linter results for SDK Related Validation Errors/WarningsThese errors are reported by the SDK team's validation tools, reachout to ADX Swagger Reviewers directly for any questions or concerns. File: specification/cosmos-db/resource-manager/readme.md
|
| Code | Id | Source | Message |
|---|---|---|---|
| LongRunningOperationsWithLongRunningExtension | R2007 | Link | The operation 'DatabaseAccounts_OfflineRegion' returns 202 status code, which indicates a long running operation, please enable "x-ms-long-running-operation. |
| LongRunningOperationsWithLongRunningExtension | R2007 | Link | The operation 'DatabaseAccounts_OnlineRegion' returns 202 status code, which indicates a long running operation, please enable "x-ms-long-running-operation. |
❌0 new Errors.(0 total)
AutoRest Linter Guidelines | AutoRest Linter Issues | Send feedback
Thanks for your co-operation.
Automation for azure-libraries-for-javaThe initial PR has been merged into your service PR: |
AutoRest linter results for SDK Related Validation Errors/WarningsThese errors are reported by the SDK team's validation tools, reachout to ADX Swagger Reviewers directly for any questions or concerns. File: specification/cosmos-db/resource-manager/readme.md
|
AutoRest linter results for ARM Related Validation Errors/WarningsThese errors are reported by the ARM team's validation tools, reachout to ARM RP API Review directly for any questions or concerns. File: specification/cosmos-db/resource-manager/readme.md
|
AutoRest linter results for SDK Related Validation Errors/WarningsThese errors are reported by the SDK team's validation tools, reachout to ADX Swagger Reviewers directly for any questions or concerns. File: specification/cosmos-db/resource-manager/readme.md
|
AutoRest linter results for ARM Related Validation Errors/WarningsThese errors are reported by the ARM team's validation tools, reachout to ARM RP API Review directly for any questions or concerns. File: specification/cosmos-db/resource-manager/readme.md
|
Automation for azure-sdk-for-nodeThe initial PR has been merged into your service PR: |
Automation for azure-sdk-for-pythonThe initial PR has been merged into your service PR: |
AutoRest linter results for SDK Related Validation Errors/WarningsThese errors are reported by the SDK team's validation tools, reachout to ADX Swagger Reviewers directly for any questions or concerns. File: specification/cosmos-db/resource-manager/readme.md
|
AutoRest linter results for ARM Related Validation Errors/WarningsThese errors are reported by the ARM team's validation tools, reachout to ARM RP API Review directly for any questions or concerns. File: specification/cosmos-db/resource-manager/readme.md
|
Automation for azure-sdk-for-goThe initial PR has been merged into your service PR: |
AutoRest linter results for ARM Related Validation Errors/WarningsThese errors are reported by the ARM team's validation tools, reachout to ARM RP API Review directly for any questions or concerns. File: specification/cosmos-db/resource-manager/readme.md
|
AutoRest linter results for SDK Related Validation Errors/WarningsThese errors are reported by the SDK team's validation tools, reachout to ADX Swagger Reviewers directly for any questions or concerns. File: specification/cosmos-db/resource-manager/readme.md
|
| "202": { | ||
| "description": "Accepted. The offline region operation will complete asynchronously." | ||
| } | ||
| } |
There was a problem hiding this comment.
seems this is a long running operation, if so please add "x-ms-long-running-operation": true attribute for both operations
There was a problem hiding this comment.
@anuchandy I have fixed based on your comment. Can you please review.
AutoRest linter results for SDK Related Validation Errors/WarningsThese errors are reported by the SDK team's validation tools, reachout to ADX Swagger Reviewers directly for any questions or concerns. File: specification/cosmos-db/resource-manager/readme.md
|
AutoRest linter results for ARM Related Validation Errors/WarningsThese errors are reported by the ARM team's validation tools, reachout to ARM RP API Review directly for any questions or concerns. File: specification/cosmos-db/resource-manager/readme.md
|
AutoRest linter results for ARM Related Validation Errors/WarningsThese errors are reported by the ARM team's validation tools, reachout to ARM RP API Review directly for any questions or concerns. File: specification/cosmos-db/resource-manager/readme.md
|
AutoRest linter results for SDK Related Validation Errors/WarningsThese errors are reported by the SDK team's validation tools, reachout to ADX Swagger Reviewers directly for any questions or concerns. File: specification/cosmos-db/resource-manager/readme.md
|
AutoRest linter results for ARM Related Validation Errors/WarningsThese errors are reported by the ARM team's validation tools, reachout to ARM RP API Review directly for any questions or concerns. File: specification/cosmos-db/resource-manager/readme.md
|
AutoRest linter results for SDK Related Validation Errors/WarningsThese errors are reported by the SDK team's validation tools, reachout to ADX Swagger Reviewers directly for any questions or concerns. File: specification/cosmos-db/resource-manager/readme.md
|
| Code | Id | Source | Message |
|---|---|---|---|
| ParameterDescriptionRequired | R4000 | Link | 'regionParameterForOffline' parameter lacks 'description' property. Consider adding a 'description' element. Accurate description is essential for maintaining reference documentation. |
| ParameterDescriptionRequired | R4000 | Link | 'regionParameterForOnline' parameter lacks 'description' property. Consider adding a 'description' element. Accurate description is essential for maintaining reference documentation. |
❌0 new Errors.(0 total)
AutoRest Linter Guidelines | AutoRest Linter Issues | Send feedback
Thanks for your co-operation.
…instead of body and adding the description
AutoRest linter results for SDK Related Validation Errors/WarningsThese errors are reported by the SDK team's validation tools, reachout to ADX Swagger Reviewers directly for any questions or concerns. File: specification/cosmos-db/resource-manager/readme.md
|
AutoRest linter results for ARM Related Validation Errors/WarningsThese errors are reported by the ARM team's validation tools, reachout to ARM RP API Review directly for any questions or concerns. File: specification/cosmos-db/resource-manager/readme.md
|
AutoRest linter results for ARM Related Validation Errors/WarningsThese errors are reported by the ARM team's validation tools, reachout to ARM RP API Review directly for any questions or concerns. File: specification/cosmos-db/resource-manager/readme.md
|
AutoRest linter results for SDK Related Validation Errors/WarningsThese errors are reported by the SDK team's validation tools, reachout to ADX Swagger Reviewers directly for any questions or concerns. File: specification/cosmos-db/resource-manager/readme.md
|
|
@ravbhatnagar could you please take a look? |
|
@ravbhatnagar can you please take a look? |
| } | ||
| } | ||
| ], | ||
| "responses": { |
There was a problem hiding this comment.
Add a "default" response to capture all the error responses. The schema complies with ARM RPC error contract. Example can be found Batch RP swagger spec.
There was a problem hiding this comment.
@ravbhatnagar I have added a default error response. Can you please review.
|
Just one minor thing. Rest looks good. Signing off from ARM. |
AutoRest linter results for ARM Related Validation Errors/WarningsThese errors are reported by the ARM team's validation tools, reachout to ARM RP API Review directly for any questions or concerns. File: specification/cosmos-db/resource-manager/readme.md
|
AutoRest linter results for SDK Related Validation Errors/WarningsThese errors are reported by the SDK team's validation tools, reachout to ADX Swagger Reviewers directly for any questions or concerns. File: specification/cosmos-db/resource-manager/readme.md
|
This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information
api-versionin the path should match theapi-versionin the spec).Quality of Swagger