Add Todos API annotations
What does this MR do?
This matches the Swagger annotations for the Todos API to the documentation in order to automatically generate the OpenAPI V2 documentation using grape-swagger
. Other than the text, some changes such as .map(&:to_s)
and explicit key names type: Integer
are added to make it compatible with grape-swagger
generation. The OpenAPI V2 documentation will be used for dogfooding API fuzzing as per #372422 (closed).
Related issues
#211512 #372422 (closed)