JavaPlayFramework.routes.mustache Maven / Gradle / Ivy
# Routes
# This file defines all application routes (Higher priority routes first)
# ~~~~
{{#useSwaggerUI}}
GET /api {{apiPackage}}.ApiDocController.api
{{/useSwaggerUI}}
{{#apiInfo}}
{{#apis}}
#Functions for {{{baseName}}} API
{{#operations}}
{{#operation}}
{{httpMethod}} {{{contextPath}}}{{{path}}} {{apiPackage}}.{{classname}}Controller.{{operationId}}({{#pathParams}}{{paramName}}: {{#isUuid}}java.util.UUID{{/isUuid}}{{^isUuid}}{{{dataType}}}{{/isUuid}}{{#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)
© 2015 - 2024 Weber Informatics LLC | Privacy Policy