JavaJaxRS.libraries.jersey3.formParams.mustache Maven / Gradle / Ivy
{{#isFormParam}}{{!
}}{{^isFile}}{{!
}}@Schema(description = "{{{description}}}"{{!
}}{{#allowableValues}}, {{> allowableValues }}{{/allowableValues}}{{!
}}{{#defaultValue}}, defaultValue="{{{.}}}"{{/defaultValue}}){{!
}}{{#vendorExtensions.x-multipart}}{{!
}}@FormDataParam("{{baseName}}") {{{dataType}}} {{paramName}}{{!
}}{{/vendorExtensions.x-multipart}}{{!
}}{{^vendorExtensions.x-multipart}}{{!
}}{{#defaultValue}} @DefaultValue("{{{.}}}"){{/defaultValue}}{{!
}} @QueryParam("{{baseName}}"){{!
}} {{{dataType}}} {{paramName}}{{!
}}{{/vendorExtensions.x-multipart}}{{!
}}{{/isFile}}{{!
}}{{#isFile}}{{!
}}{{^isArray}}{{!
}}@FormDataParam("{{baseName}}") FormDataBodyPart {{paramName}}Bodypart{{!
}}{{/isArray}}{{!
}}{{#isArray}}{{!
}}@FormDataParam("{{baseName}}") List {{paramName}}Bodypart{{!
}}{{/isArray}}{{!
}}{{/isFile}}{{!
}}{{/isFormParam}}