forked from loafle/openapi-generator-original
* Fix issue #6867 : The apiPackage option is ignored in the template for Java Play Framework. * use openjdk7 in travis to ensure it works with jdk7
23 lines
800 B
Plaintext
23 lines
800 B
Plaintext
# 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) |