Azure / Azure/azure-rest-api-specs
Document DB swagger errors
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 424
Description
As mentioned here https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/swagger-checklist.md#naming---swagger-checklist
• M1006: ✅ PUT operations MUST use the METHOD Name "Create"
• M1007: ✅ PATCH operations MUST use the METHOD Name "Update"
Please fix here /arm-documentdb/2015-04-08/swagger/documentdb.json#L68 and here /arm-documentdb/2015-04-08/swagger/documentdb.json#L107 . We finalize our suggestions recently, sorry if we asked you to name it differently some time ago.
In the same document:
M2049: Every operation MUST have a "default" status code in the "responses" section. The "default" corresponds to the error returned by the operation.
Please add default section to all the operations.
Contributor guide
Assessment
This issue has not been assessed yet.