-
See: conf/api.routes
The route file must follow a specific convention for automatically generating the documentation.
It uses conf/swagger.yml as a
YAML
base file. -
The generated file will be placed at:
target/swagger/swagger.json
-
and it will be mounted at:
assets/swagger.json
If there issues while generating the swagger
documentation, run in the sbt shell
:
swagger
- READ MORE: iheartradio/play-swagger
Swagger-UI is used to render the
generated swagger.json
file. it follows the OpenAPI convention.