mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-06-23 17:20:51 +00:00
* Update spring samples with current code. This is done so I can see my own changes better. * Regenerate samples after 2.2.2. * use baseName instead of paramName for spring annotations. * update spring petstore samples to show the effects.
1 line
393 B
Plaintext
1 line
393 B
Plaintext
{{#isPathParam}}{{#useBeanValidation}}{{>beanValidationPathParams}}{{/useBeanValidation}}@ApiParam(value = "{{{description}}}"{{#required}},required=true{{/required}}{{#allowableValues}}, allowableValues="{{{allowableValues}}}"{{/allowableValues}} {{#defaultValue}}, defaultValue="{{{defaultValue}}}"{{/defaultValue}}) @PathVariable("{{baseName}}") {{{dataType}}} {{paramName}}{{/isPathParam}} |