Files
openapi-generator/modules/swagger-codegen/src/main/resources/JavaPlayFramework/routes.mustache
2017-08-24 10:23:10 +08:00

23 lines
736 B
Plaintext

# Routes
# This file defines all application routes (Higher priority routes first)
# ~~~~
{{#useSwaggerUI}}
GET /api controllers.ApiDocController.api
{{/useSwaggerUI}}
{{#apiInfo}}
{{#apis}}
#Functions for {{{baseName}}} API
{{#operations}}
{{#operation}}
{{httpMethod}} {{{contextPath}}}{{{path}}} controllers.{{classname}}Controller.{{operationId}}({{#pathParams}}{{paramName}}: {{{dataType}}}{{#hasMore}}, {{/hasMore}}{{/pathParams}})
{{/operation}}
{{/operations}}
{{/apis}}
{{/apiInfo}}
# Map static resources from the /public folder to the /assets URL path
GET /assets/*file controllers.Assets.at(file)
GET /versionedAssets/*file controllers.Assets.versioned(file)