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

php-symfony.routing.mustache Maven / Gradle / Ivy

There is a newer version: 7.6.0
Show newest version
# NOTE: This file is auto generated by the openapi generator program.
# https://github.com/openapitools/openapi-generator
# 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