Add Templates API annotations
What does this MR do?
This matches the Swagger annotations for the Templates API to the documentation in order to automatically generate the OpenAPI V2 documentation using grape-swagger
. Optional parameters are added, but the name
path parameter was not changed to key
to match the documentation because it appears that TemplateFinder
still uses the old name
convention and that would break it. The OpenAPI V2 documentation will be used for dogfooding API fuzzing as per #372422 (closed).
Related issues
#211512 #372422 (closed)
Edited by Eugene Lim