All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scala-play-server.conf.routes.mustache Maven / Gradle / Ivy

There is a newer version: 7.8.0
Show newest version
# Routes
# This file defines all application routes (Higher priority routes first)
# ~~~~

{{#apiInfo}}
{{#apis}}

# Routes for {{{baseName}}} API
{{! Note: operations with path parameters are emitted last to give them lower priority than operations with possibly more specific paths. }}

{{#operations}}
{{#operation}}
{{^vendorExtensions.hasPathParams}}
{{httpMethod}} {{{contextPath}}}{{{vendorExtensions.paddedPath}}}    {{apiPackage}}.{{classname}}Controller.{{operationId}}()
{{/vendorExtensions.hasPathParams}}
{{/operation}}
{{/operations}}
{{#operations}}
{{#operation}}
{{#vendorExtensions.hasPathParams}}
{{httpMethod}} {{{contextPath}}}{{{vendorExtensions.paddedPath}}}    {{apiPackage}}.{{classname}}Controller.{{operationId}}({{#pathParams}}{{paramName}}: {{#isUuid}}java.util.UUID{{/isUuid}}{{^isUuid}}{{{dataType}}}{{/isUuid}}{{#hasMore}}, {{/hasMore}}{{/pathParams}})
{{/vendorExtensions.hasPathParams}}
{{/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)

{{#useSwaggerUI}}
# Swagger UI
GET /api                    {{apiPackage}}.ApiDocController.api
{{/useSwaggerUI}}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy