Azure / Azure/azure-rest-api-specs

Document DB swagger errors

Open
#963 0 comments 0 reactions 1 assignee Claimed by @dmakwana View on GitHub
Doc Db internal-ms P1
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.