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

Micronaut.apiClientParams.mustache Maven / Gradle / Ivy

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