๐Ÿ“ฆ apache / polaris

๐Ÿ“„ queryParams.mustache ยท 18 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18{{!
Note that this template is copied from https://github.com/OpenAPITools/openapi-generator/blob/783e68c7acbbdcbb2282d167d1644b069f12d486/modules/openapi-generator/src/main/resources/JavaJaxRS/resteasy/queryParams.mustache
It is here to remove some unsupported swagger annotations
}}{{#isQueryParam}}{{!

    }}{{^isContainer}}{{!
        }}{{#defaultValue}}{{!
            }} @DefaultValue("{{{defaultValue}}}"){{!
        }}{{/defaultValue}}{{!
    }}{{/isContainer}}{{!

    }} @QueryParam("{{baseName}}"){{!

    }}{{#useBeanValidation}} {{>beanValidation}}{{/useBeanValidation}}{{!

    }} {{{dataType}}} {{paramName}}{{!

}}{{/isQueryParam}}