php-symfony.routing.mustache Maven / Gradle / Ivy
# NOTE: This file is auto generated by the swagger code generator program.
# https://github.com/swagger-api/swagger-codegen
# Do not edit the class manually.
{{#apiInfo}}
{{#apis}}
{{#operations}}
# {{pathPrefix}}
{{#operation}}
{{bundleAlias}}_{{pathPrefix}}_{{operationIdLowerCase}}:
path: {{path}}
methods: [{{httpMethod}}]
defaults:
_controller: {{bundleAlias}}.controller.{{pathPrefix}}:{{operationId}}Action
{{#hasPathParams}}
requirements:
{{/hasPathParams}}
{{#pathParams}}
{{#pattern}}
{{paramName}}: '{{pattern}}'
{{/pattern}}
{{^pattern}}
{{#isLong}}
{{paramName}}: '\d+'
{{/isLong}}
{{#isInteger}}
{{paramName}}: '\d+'
{{/isInteger}}
{{#isString}}
{{paramName}}: '[a-z0-9]+'
{{/isString}}
{{#isBoolean}}
{{paramName}}: 'true|false'
{{/isBoolean}}
{{/pattern}}
{{/pathParams}}
{{/operation}}
{{/operations}}
{{/apis}}
{{/apiInfo}}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy