Micronaut.apiClientParams.mustache Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of micronaut-openapi-codegen Show documentation
Show all versions of micronaut-openapi-codegen Show documentation
This is an openapi generator for Micronaut.
The newest version!
{{#allParams}}{{^isFormParam}} {{#required}}{{#defaultValue}}@{{type.Nullable}}{{/defaultValue}}{{^defaultValue}}@{{type.Nonnull}}{{/defaultValue}}{{/required}}{{^required}}@{{type.Nullable}}{{/required}}
{{#isBodyParam}} @io.micronaut.http.annotation.Body
{{/isBodyParam}}{{#isPathParam}} @io.micronaut.http.annotation.PathVariable(value = "{{baseName}}")
{{/isPathParam}}{{#isQueryParam}} @io.micronaut.http.annotation.QueryValue(value = "{{baseName}}")
{{/isQueryParam}}{{#isCookieParam}} @io.micronaut.http.annotation.CookieValue(value = "{{baseName}}")
{{/isCookieParam}}{{#isHeaderParam}} @io.micronaut.http.annotation.Header(value = "{{baseName}}")
{{/isHeaderParam}} {{{dataType}}} {{paramName}}{{^-last}},
{{/-last}}{{/isFormParam}}{{/allParams}}{{#isMultipart}}{{#vendorExtensions.hasOtherThanMultipart}},
{{/vendorExtensions.hasOtherThanMultipart}} @{{type.Nonnull}}
@io.micronaut.http.annotation.Body
{{type.MultipartBody}} multipart{{/isMultipart}}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy