Skip to content

Commit

Permalink
Correcting wording for rul M2001 (Azure#854)
Browse files Browse the repository at this point in the history
  • Loading branch information
vishrutshah authored and amarzavery committed Jan 9, 2017
1 parent 097f145 commit 4d7108c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/swagger-checklist.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ The Azure Developer Experience team will continue to deliver rich tools to valid

- [ ] **M2000**: A Swagger specification *MUST* be accompanied with a document that describes end-to-end management scenarios that can be realized using operations described in the Swagger.

- [ ] **M2001**: Read only parameters and model properties *MUST* be labeled as `"readOnly": true` in Swagger.
- [ ] **M2001**: Read only parameters of the model properties *MUST* be labeled as `"readOnly": true` in Swagger.

- [ ] **M2002**: Boolean parameters *MUST* be represented as boolean in Swagger. Boolean parameters *MUST* NOT be represented as strings. Similarly, this requirements applies to other primitive data types such as integer, float and double. These primitive data types *MUST* be represented using [Swagger primitive data types](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types).

Expand Down

0 comments on commit 4d7108c

Please sign in to comment.