mirror of
				https://github.com/OpenAPITools/openapi-generator.git
				synced 2025-11-04 10:43:44 +00:00 
			
		
		
		
	Squashed commit of the following:
commit c5a0d0f7394aa742fa336fff7e7c1d3049761868
Merge: 8c4991ba3ed f8ff8c87609
Author: William Cheng <wing328hk@gmail.com>
Date:   Tue Aug 17 18:28:12 2021 +0800
    Merge branch 'mustache-linting' of https://github.com/NathanBaulch/openapi-generator into NathanBaulch-mustache-linting
commit f8ff8c87609b1ca36fa26fb8474806999638195e
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date:   Thu Aug 5 14:12:47 2021 +1000
    Reorder tags that handle missing values
commit f5d8a33709d6a3f846a9fe4520b78c3d637051d9
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date:   Thu Aug 5 14:08:59 2021 +1000
    Use dot notation where possible
commit 493d14921e2333f3ae19ef6fc89318b7e263a80c
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date:   Thu Aug 5 14:10:49 2021 +1000
    Remove empty tags
commit 32480dc53f48227d55531b94e307d72671373737
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date:   Thu Aug 5 10:41:58 2021 +1000
    Remove redundant sections
commit a8edabd722c34aa094b4aeb11c22664529c3a219
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date:   Wed Aug 4 22:02:22 2021 +1000
    Trim extra EOF new lines
commit e89bd7458e3594bf0d30e580bc9408e45b018a57
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date:   Wed Aug 4 21:59:26 2021 +1000
    Trim trailing whitespace
			
			
This commit is contained in:
		
							parent
							
								
									7edddb6531
								
							
						
					
					
						commit
						0204bf4ae2
					
				@ -74,7 +74,7 @@ All URIs are relative to *{{basePath}}*
 | 
			
		||||
 | 
			
		||||
Method | HTTP request | Description
 | 
			
		||||
------------- | ------------- | -------------
 | 
			
		||||
{{#apiInfo}}{{#apis}}{{#operations}}{{#operation}}[**{{nickname}}**]({{apiDocPath}}{{classname}}.md#{{nickname}}) | **{{httpMethod}}** {{path}} | {{#summary}}{{summary}}{{/summary}}
 | 
			
		||||
{{#apiInfo}}{{#apis}}{{#operations}}{{#operation}}[**{{nickname}}**]({{apiDocPath}}{{classname}}.md#{{nickname}}) | **{{httpMethod}}** {{path}} | {{summary}}
 | 
			
		||||
{{/operation}}{{/operations}}{{/apis}}{{/apiInfo}}
 | 
			
		||||
 | 
			
		||||
### Models
 | 
			
		||||
 | 
			
		||||
@ -13,7 +13,7 @@ package body {{package}}.Clients is
 | 
			
		||||
   procedure {{operationId}}
 | 
			
		||||
      (Client : in out Client_Type{{#hasParams}};{{/hasParams}}{{#allParams}}
 | 
			
		||||
       {{paramName}} : in {{^isFile}}{{^isString}}{{^isPrimitiveType}}{{^isContainer}}{{package}}.Models.{{/isContainer}}{{/isPrimitiveType}}{{/isString}}{{/isFile}}{{dataType}}{{^-last}};{{/-last}}{{/allParams}}{{#returnType}};
 | 
			
		||||
       Result : out {{returnType}}{{/returnType}}) is
 | 
			
		||||
       Result : out {{.}}{{/returnType}}) is
 | 
			
		||||
      URI   : Swagger.Clients.URI_Type;{{#hasBodyParam}}
 | 
			
		||||
      Req   : Swagger.Clients.Request_Type;{{/hasBodyParam}}{{#hasFormParams}}
 | 
			
		||||
      Req   : Swagger.Clients.Request_Type;{{/hasFormParams}}
 | 
			
		||||
 | 
			
		||||
@ -17,7 +17,7 @@ package {{package}}.Clients is
 | 
			
		||||
   procedure {{operationId}}
 | 
			
		||||
      (Client : in out Client_Type{{#hasParams}};{{/hasParams}}{{#allParams}}
 | 
			
		||||
       {{paramName}} : in {{^isFile}}{{^isString}}{{^isPrimitiveType}}{{^isContainer}}{{package}}.Models.{{/isContainer}}{{/isPrimitiveType}}{{/isString}}{{/isFile}}{{dataType}}{{^-last}};{{/-last}}{{/allParams}}{{#returnType}};
 | 
			
		||||
       Result : out {{returnType}}{{/returnType}});
 | 
			
		||||
       Result : out {{.}}{{/returnType}});
 | 
			
		||||
 | 
			
		||||
{{/operation}}
 | 
			
		||||
{{/operations}}
 | 
			
		||||
 | 
			
		||||
@ -1,8 +1,8 @@
 | 
			
		||||
--  {{{appName}}}
 | 
			
		||||
--  {{{appDescription}}}
 | 
			
		||||
--
 | 
			
		||||
--  {{#version}}The version of the OpenAPI document: {{{version}}}{{/version}}
 | 
			
		||||
--{{#infoEmail}}  Contact: {{{infoEmail}}}{{/infoEmail}}
 | 
			
		||||
--  {{#version}}The version of the OpenAPI document: {{{.}}}{{/version}}
 | 
			
		||||
--{{#infoEmail}}  Contact: {{{.}}}{{/infoEmail}}
 | 
			
		||||
--
 | 
			
		||||
--  NOTE: This package is auto generated by OpenAPI-Generator {{{generatorVersion}}}.
 | 
			
		||||
--  https://openapi-generator.tech
 | 
			
		||||
 | 
			
		||||
@ -23,7 +23,7 @@ package body {{package}}.Servers is
 | 
			
		||||
      (Server : in out Server_Type{{#hasParams}};{{/hasParams}}
 | 
			
		||||
       {{#allParams}}{{paramName}} : in {{dataType}}{{^-last}};
 | 
			
		||||
       {{/-last}}{{/allParams}}{{#returnType}};
 | 
			
		||||
       Result  : out {{returnType}}{{/returnType}};
 | 
			
		||||
       Result  : out {{.}}{{/returnType}};
 | 
			
		||||
       Context : in out Swagger.Servers.Context_Type) is
 | 
			
		||||
   begin
 | 
			
		||||
      null;
 | 
			
		||||
 | 
			
		||||
@ -33,5 +33,3 @@ log4j.logger.Util=DEBUG
 | 
			
		||||
log4j.logger.Servlet=DEBUG
 | 
			
		||||
log4j.logger.Util.Serialize.Mappers=WARN
 | 
			
		||||
log4j.logger.Util.Serialize.IO=INFO
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -34,7 +34,7 @@ package body {{package}}.Skeletons is
 | 
			
		||||
         {{paramName}} : {{dataType}};
 | 
			
		||||
         {{/allParams}}
 | 
			
		||||
         {{#returnType}}
 | 
			
		||||
         Result : {{returnType}};
 | 
			
		||||
         Result : {{.}};
 | 
			
		||||
         {{/returnType}}
 | 
			
		||||
      begin
 | 
			
		||||
         {{#vendorExtensions.x-auth-scopes}}
 | 
			
		||||
@ -130,7 +130,7 @@ package body {{package}}.Skeletons is
 | 
			
		||||
         {{paramName}} : {{dataType}};
 | 
			
		||||
         {{/allParams}}
 | 
			
		||||
         {{#returnType}}
 | 
			
		||||
         Result : {{returnType}};
 | 
			
		||||
         Result : {{.}};
 | 
			
		||||
         {{/returnType}}
 | 
			
		||||
      begin
 | 
			
		||||
         {{#vendorExtensions.x-auth-scopes}}
 | 
			
		||||
@ -219,7 +219,7 @@ package body {{package}}.Skeletons is
 | 
			
		||||
         procedure {{operationId}}
 | 
			
		||||
            ({{#allParams}}{{paramName}} : in {{dataType}}{{^-last}};
 | 
			
		||||
             {{/-last}}{{/allParams}}{{#returnType}};
 | 
			
		||||
             Result : out {{returnType}}{{/returnType}};
 | 
			
		||||
             Result : out {{.}}{{/returnType}};
 | 
			
		||||
             Context : in out Swagger.Servers.Context_Type) is
 | 
			
		||||
         begin
 | 
			
		||||
            Impl.{{operationId}}
 | 
			
		||||
 | 
			
		||||
@ -27,7 +27,7 @@ package {{package}}.Skeletons is
 | 
			
		||||
      (Server : in out Server_Type{{#hasParams}};{{/hasParams}}
 | 
			
		||||
       {{#allParams}}{{paramName}} : in {{dataType}}{{^-last}};
 | 
			
		||||
       {{/-last}}{{/allParams}}{{#returnType}};
 | 
			
		||||
       Result  : out {{returnType}}{{/returnType}};
 | 
			
		||||
       Result  : out {{.}}{{/returnType}};
 | 
			
		||||
       Context : in out Swagger.Servers.Context_Type) is abstract;
 | 
			
		||||
{{/operation}}
 | 
			
		||||
{{/operations}}
 | 
			
		||||
@ -95,7 +95,7 @@ package {{package}}.Skeletons is
 | 
			
		||||
         procedure {{operationId}}
 | 
			
		||||
            ({{#allParams}}{{paramName}} : in {{dataType}}{{^-last}};
 | 
			
		||||
             {{/-last}}{{/allParams}}{{#returnType}};
 | 
			
		||||
             Result  : out {{returnType}}{{/returnType}};
 | 
			
		||||
             Result  : out {{.}}{{/returnType}};
 | 
			
		||||
             Context : in out Swagger.Servers.Context_Type);
 | 
			
		||||
         {{/hasParams}}
 | 
			
		||||
         {{^hasParams}}
 | 
			
		||||
 | 
			
		||||
@ -31,7 +31,7 @@ package {{package}}.Servers is
 | 
			
		||||
      (Server : in out Server_Type{{#hasParams}};{{/hasParams}}
 | 
			
		||||
       {{#allParams}}{{paramName}} : in {{dataType}}{{^-last}};
 | 
			
		||||
       {{/-last}}{{/allParams}}{{#returnType}};
 | 
			
		||||
       Result  : out {{returnType}}{{/returnType}};
 | 
			
		||||
       Result  : out {{.}}{{/returnType}};
 | 
			
		||||
       Context : in out Swagger.Servers.Context_Type);
 | 
			
		||||
{{/operation}}
 | 
			
		||||
{{/operations}}
 | 
			
		||||
 | 
			
		||||
@ -70,7 +70,7 @@ All URIs are relative to *{{basePath}}*
 | 
			
		||||
 | 
			
		||||
Category | Method | HTTP request | Description
 | 
			
		||||
------------ | ------------- | ------------- | -------------
 | 
			
		||||
{{#apiInfo}}{{#apis}}{{#operations}}{{#operation}}*{{classname}}* | [**{{classname}}_{{operationId}}**]({{apiDocPath}}{{classname}}.md#{{classname}}_{{operationId}}) | **{{httpMethod}}** {{path}} | {{#summary}}{{{summary}}}{{/summary}}
 | 
			
		||||
{{#apiInfo}}{{#apis}}{{#operations}}{{#operation}}*{{classname}}* | [**{{classname}}_{{operationId}}**]({{apiDocPath}}{{classname}}.md#{{classname}}_{{operationId}}) | **{{httpMethod}}** {{path}} | {{{summary}}}
 | 
			
		||||
{{/operation}}{{/operations}}{{/apis}}{{/apiInfo}}
 | 
			
		||||
 | 
			
		||||
## Documentation for Models
 | 
			
		||||
 | 
			
		||||
@ -91,11 +91,11 @@ end:
 | 
			
		||||
{{#operations}}
 | 
			
		||||
{{#operation}}
 | 
			
		||||
{{#summary}}
 | 
			
		||||
// {{{summary}}}
 | 
			
		||||
// {{{.}}}
 | 
			
		||||
//
 | 
			
		||||
{{/summary}}
 | 
			
		||||
{{#notes}}
 | 
			
		||||
// {{{notes}}}
 | 
			
		||||
// {{{.}}}
 | 
			
		||||
//
 | 
			
		||||
{{/notes}}
 | 
			
		||||
{{#returnType}}{{#returnTypeIsPrimitive}}{{#returnSimpleType}}{{{.}}}*{{/returnSimpleType}}{{^returnSimpleType}}{{#isArray}}{{{.}}}_t*{{/isArray}}{{#isMap}}{{{.}}}{{/isMap}}{{/returnSimpleType}}{{/returnTypeIsPrimitive}}{{^returnTypeIsPrimitive}}{{{.}}}_t*{{/returnTypeIsPrimitive}}{{/returnType}}{{^returnType}}void{{/returnType}}
 | 
			
		||||
 | 
			
		||||
@ -25,11 +25,11 @@ typedef enum  { {{projectName}}_{{operationId}}_{{enumName}}_NULL = 0{{#enumVars
 | 
			
		||||
{{#operations}}
 | 
			
		||||
{{#operation}}
 | 
			
		||||
{{#summary}}
 | 
			
		||||
// {{{summary}}}
 | 
			
		||||
// {{{.}}}
 | 
			
		||||
//
 | 
			
		||||
{{/summary}}
 | 
			
		||||
{{#notes}}
 | 
			
		||||
// {{{notes}}}
 | 
			
		||||
// {{{.}}}
 | 
			
		||||
//
 | 
			
		||||
{{/notes}}
 | 
			
		||||
{{#returnType}}{{#returnTypeIsPrimitive}}{{#returnSimpleType}}{{{.}}}*{{/returnSimpleType}}{{^returnSimpleType}}{{#isArray}}{{{.}}}_t*{{/isArray}}{{#isMap}}{{{.}}}{{/isMap}}{{/returnSimpleType}}{{/returnTypeIsPrimitive}}{{^returnTypeIsPrimitive}}{{{.}}}_t*{{/returnTypeIsPrimitive}}{{/returnType}}{{^returnType}}void{{/returnType}}
 | 
			
		||||
 | 
			
		||||
@ -1,11 +1,11 @@
 | 
			
		||||
# {{classname}}{{#description}}
 | 
			
		||||
{{description}}{{/description}}
 | 
			
		||||
{{.}}{{/description}}
 | 
			
		||||
 | 
			
		||||
All URIs are relative to *{{basePath}}*
 | 
			
		||||
 | 
			
		||||
Method | HTTP request | Description
 | 
			
		||||
------------- | ------------- | -------------
 | 
			
		||||
{{#operations}}{{#operation}}[**{{classname}}_{{operationId}}**]({{classname}}.md#{{classname}}_{{operationId}}) | **{{httpMethod}}** {{path}} | {{#summary}}{{summary}}{{/summary}}
 | 
			
		||||
{{#operations}}{{#operation}}[**{{classname}}_{{operationId}}**]({{classname}}.md#{{classname}}_{{operationId}}) | **{{httpMethod}}** {{path}} | {{summary}}
 | 
			
		||||
{{/operation}}{{/operations}}
 | 
			
		||||
 | 
			
		||||
{{#operations}}
 | 
			
		||||
@ -13,11 +13,11 @@ Method | HTTP request | Description
 | 
			
		||||
# **{{classname}}_{{{operationId}}}**
 | 
			
		||||
```c
 | 
			
		||||
{{#summary}}
 | 
			
		||||
// {{{summary}}}
 | 
			
		||||
// {{{.}}}
 | 
			
		||||
//
 | 
			
		||||
{{/summary}}
 | 
			
		||||
{{#notes}}
 | 
			
		||||
// {{{notes}}}
 | 
			
		||||
// {{{.}}}
 | 
			
		||||
//
 | 
			
		||||
{{/notes}}
 | 
			
		||||
{{#returnType}}{{#returnTypeIsPrimitive}}{{#returnSimpleType}}{{{.}}}*{{/returnSimpleType}}{{^returnSimpleType}}{{#isArray}}{{{.}}}_t*{{/isArray}}{{#isMap}}{{{.}}}{{/isMap}}{{/returnSimpleType}}{{/returnTypeIsPrimitive}}{{^returnTypeIsPrimitive}}{{{.}}}_t*{{/returnTypeIsPrimitive}}{{/returnType}}{{^returnType}}void{{/returnType}} {{{classname}}}_{{{operationId}}}(apiClient_t *apiClient{{#allParams}}, {{#isPrimitiveType}}{{#isNumber}}{{{dataType}}}{{/isNumber}}{{#isLong}}{{{dataType}}}{{/isLong}}{{#isInteger}}{{{dataType}}}{{/isInteger}}{{#isDouble}}{{{dataType}}}{{/isDouble}}{{#isFloat}}{{{dataType}}}{{/isFloat}}{{#isBoolean}}{{dataType}}{{/isBoolean}}{{#isEnum}}{{#isString}}{{projectName}}_{{operationId}}_{{baseName}}_e{{/isString}}{{/isEnum}}{{^isEnum}}{{#isString}}{{{dataType}}} *{{/isString}}{{/isEnum}}{{#isByteArray}}{{{dataType}}} *{{/isByteArray}}{{#isDate}}{{{dataType}}}{{/isDate}}{{#isDateTime}}{{{dataType}}}{{/isDateTime}}{{#isFile}}{{{dataType}}}{{/isFile}}{{#isFreeFormObject}}{{dataType}}_t *{{/isFreeFormObject}}{{/isPrimitiveType}}{{^isArray}}{{^isPrimitiveType}}{{#isModel}}{{#isEnum}}{{datatypeWithEnum}}_e{{/isEnum}}{{^isEnum}}{{{dataType}}}_t *{{/isEnum}}{{/isModel}}{{^isModel}}{{#isEnum}}{{datatypeWithEnum}}_e{{/isEnum}}{{/isModel}}{{#isUuid}}{{dataType}} *{{/isUuid}}{{#isEmail}}{{dataType}}{{/isEmail}}{{/isPrimitiveType}}{{/isArray}}{{#isContainer}}{{#isArray}}{{dataType}}_t *{{/isArray}}{{#isMap}}{{dataType}}{{/isMap}}{{/isContainer}} {{{paramName}}}{{/allParams}});
 | 
			
		||||
@ -28,7 +28,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
------------- | ------------- | ------------- | -------------
 | 
			
		||||
**apiClient** | **apiClient_t \*** | context containing the client configuration |
 | 
			
		||||
{{#allParams}}
 | 
			
		||||
**{{paramName}}** | {{#isPrimitiveType}}{{#isNumber}}**{{{dataType}}}**{{/isNumber}}{{#isLong}}**{{{dataType}}}**{{/isLong}}{{#isInteger}}**{{{dataType}}}**{{/isInteger}}{{#isDouble}}**{{{dataType}}}**{{/isDouble}}{{#isFloat}}**{{{dataType}}}**{{/isFloat}}{{#isBoolean}}**{{dataType}}**{{/isBoolean}}{{#isEnum}}{{#isString}}**{{projectName}}_{{operationId}}_{{baseName}}_e**{{/isString}}{{/isEnum}}{{^isEnum}}{{#isString}}**{{{dataType}}} \***{{/isString}}{{/isEnum}}{{#isByteArray}}**{{{dataType}}} \***{{/isByteArray}}{{#isDate}}**{{{dataType}}}**{{/isDate}}{{#isDateTime}}**{{{dataType}}}**{{/isDateTime}}{{#isFile}}**{{{dataType}}}**{{/isFile}}{{#isFreeFormObject}}**[{{dataType}}_t]({{baseType}}.md) \***{{/isFreeFormObject}}{{/isPrimitiveType}}{{^isArray}}{{^isPrimitiveType}}{{#isModel}}{{#isEnum}}**{{datatypeWithEnum}}_e**{{/isEnum}}{{^isEnum}}**[{{{dataType}}}_t]({{{baseType}}}.md) \***{{/isEnum}}{{/isModel}}{{^isModel}}{{#isEnum}}**{{datatypeWithEnum}}_e**{{/isEnum}}{{/isModel}}{{#isUuid}}**{{dataType}} \***{{/isUuid}}{{#isEmail}}**{{dataType}}**{{/isEmail}}{{/isPrimitiveType}}{{/isArray}}{{#isContainer}}{{#isArray}}**[{{dataType}}_t]({{baseType}}.md) \***{{/isArray}}{{#isMap}}**{{dataType}}**{{/isMap}}{{/isContainer}} | {{description}} | {{^required}}[optional] {{/required}}{{#defaultValue}}[default to {{defaultValue}}]{{/defaultValue}}
 | 
			
		||||
**{{paramName}}** | {{#isPrimitiveType}}{{#isNumber}}**{{{dataType}}}**{{/isNumber}}{{#isLong}}**{{{dataType}}}**{{/isLong}}{{#isInteger}}**{{{dataType}}}**{{/isInteger}}{{#isDouble}}**{{{dataType}}}**{{/isDouble}}{{#isFloat}}**{{{dataType}}}**{{/isFloat}}{{#isBoolean}}**{{dataType}}**{{/isBoolean}}{{#isEnum}}{{#isString}}**{{projectName}}_{{operationId}}_{{baseName}}_e**{{/isString}}{{/isEnum}}{{^isEnum}}{{#isString}}**{{{dataType}}} \***{{/isString}}{{/isEnum}}{{#isByteArray}}**{{{dataType}}} \***{{/isByteArray}}{{#isDate}}**{{{dataType}}}**{{/isDate}}{{#isDateTime}}**{{{dataType}}}**{{/isDateTime}}{{#isFile}}**{{{dataType}}}**{{/isFile}}{{#isFreeFormObject}}**[{{dataType}}_t]({{baseType}}.md) \***{{/isFreeFormObject}}{{/isPrimitiveType}}{{^isArray}}{{^isPrimitiveType}}{{#isModel}}{{#isEnum}}**{{datatypeWithEnum}}_e**{{/isEnum}}{{^isEnum}}**[{{{dataType}}}_t]({{{baseType}}}.md) \***{{/isEnum}}{{/isModel}}{{^isModel}}{{#isEnum}}**{{datatypeWithEnum}}_e**{{/isEnum}}{{/isModel}}{{#isUuid}}**{{dataType}} \***{{/isUuid}}{{#isEmail}}**{{dataType}}**{{/isEmail}}{{/isPrimitiveType}}{{/isArray}}{{#isContainer}}{{#isArray}}**[{{dataType}}_t]({{baseType}}.md) \***{{/isArray}}{{#isMap}}**{{dataType}}**{{/isMap}}{{/isContainer}} | {{description}} | {{^required}}[optional] {{/required}}{{#defaultValue}}[default to {{.}}]{{/defaultValue}}
 | 
			
		||||
{{/allParams}}
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
@ -27,14 +27,14 @@
 | 
			
		||||
  {{classname}}_t* {{classname}} = NULL;
 | 
			
		||||
  if (include_optional) {
 | 
			
		||||
    {{classname}} = {{classname}}_create(
 | 
			
		||||
{{#vars}}      {{#isEnum}}{{^isContainer}}{{#example}}{{projectName}}_{{classVarName}}_{{enumName}}_{{{.}}}{{/example}}{{/isContainer}}{{#isContainer}}{{#example}}{{{.}}}{{/example}}{{/isContainer}}{{/isEnum}}{{^isEnum}}{{#example}}{{{.}}}{{/example}}{{/isEnum}}{{^example}}{{#isModel}}{{#isEnum}}// enum {{datatypeWithEnum}}_e Work in Progress
 | 
			
		||||
{{#vars}}      {{#isEnum}}{{^isContainer}}{{#example}}{{projectName}}_{{classVarName}}_{{enumName}}_{{{.}}}{{/example}}{{/isContainer}}{{#isContainer}}{{{example}}}{{/isContainer}}{{/isEnum}}{{^isEnum}}{{{example}}}{{/isEnum}}{{^example}}{{#isModel}}{{#isEnum}}// enum {{datatypeWithEnum}}_e Work in Progress
 | 
			
		||||
{{/isEnum}}{{^isEnum}} // false, not to have infinite recursion
 | 
			
		||||
      instantiate_{{{dataType}}}(0){{/isEnum}}{{/isModel}}{{^isModel}}0{{/isModel}}{{/example}}{{^-last}},{{/-last}}
 | 
			
		||||
{{/vars}}
 | 
			
		||||
    );
 | 
			
		||||
  } else {
 | 
			
		||||
    {{classname}} = {{classname}}_create(
 | 
			
		||||
{{#vars}}      {{#isEnum}}{{^isContainer}}{{#example}}{{projectName}}_{{classVarName}}_{{enumName}}_{{{.}}}{{/example}}{{/isContainer}}{{#isContainer}}{{#example}}{{{.}}}{{/example}}{{/isContainer}}{{/isEnum}}{{^isEnum}}{{#example}}{{{.}}}{{/example}}{{/isEnum}}{{^example}}{{#isModel}}{{#isEnum}}// enum {{datatypeWithEnum}}_e Work in Progress
 | 
			
		||||
{{#vars}}      {{#isEnum}}{{^isContainer}}{{#example}}{{projectName}}_{{classVarName}}_{{enumName}}_{{{.}}}{{/example}}{{/isContainer}}{{#isContainer}}{{{example}}}{{/isContainer}}{{/isEnum}}{{^isEnum}}{{{example}}}{{/isEnum}}{{^example}}{{#isModel}}{{#isEnum}}// enum {{datatypeWithEnum}}_e Work in Progress
 | 
			
		||||
{{/isEnum}}{{^isEnum}}NULL{{/isEnum}}{{/isModel}}{{^isModel}}0{{/isModel}}{{/example}}{{^-last}},{{/-last}}
 | 
			
		||||
{{/vars}}
 | 
			
		||||
    );
 | 
			
		||||
 | 
			
		||||
@ -1,7 +1,7 @@
 | 
			
		||||
# Eiffel API client for {{packageName}}
 | 
			
		||||
 | 
			
		||||
{{#appDescriptionWithNewLines}}
 | 
			
		||||
{{{appDescriptionWithNewLines}}}
 | 
			
		||||
{{{.}}}
 | 
			
		||||
{{/appDescriptionWithNewLines}}
 | 
			
		||||
 | 
			
		||||
## Overview
 | 
			
		||||
@ -29,7 +29,7 @@ All URIs are relative to *{{basePath}}*
 | 
			
		||||
 | 
			
		||||
Class | Method | HTTP request | Description
 | 
			
		||||
------------ | ------------- | ------------- | -------------
 | 
			
		||||
{{#apiInfo}}{{#apis}}{{#operations}}{{#operation}}*{{classname}}* | [**{{operationId}}**]({{apiDocPath}}/{{classname}}.md#{{operationIdLowerCase}}) | **{{httpMethod}}** {{path}} | {{#summary}}{{summary}}{{/summary}}
 | 
			
		||||
{{#apiInfo}}{{#apis}}{{#operations}}{{#operation}}*{{classname}}* | [**{{operationId}}**]({{apiDocPath}}/{{classname}}.md#{{operationIdLowerCase}}) | **{{httpMethod}}** {{path}} | {{summary}}
 | 
			
		||||
{{/operation}}{{/operations}}{{/apis}}{{/apiInfo}}
 | 
			
		||||
 | 
			
		||||
## Documentation For Models
 | 
			
		||||
 | 
			
		||||
@ -13,14 +13,14 @@ feature -- API Access
 | 
			
		||||
 | 
			
		||||
{{#operation}}
 | 
			
		||||
 | 
			
		||||
	{{operationId}} {{#hasParams}}({{#allParams}}{{paramName}}: {{#required}}{{{dataType}}}{{/required}}{{^required}}{{#isPrimitiveType}}{{{dataType}}}{{/isPrimitiveType}}{{^isPrimitiveType}}detachable {{{dataType}}}{{/isPrimitiveType}}{{/required}}{{^-last}}; {{/-last}}{{/allParams}}){{/hasParams}}{{#returnType}}: detachable {{{returnType}}}{{/returnType}}{{^returnType}}{{/returnType}}
 | 
			
		||||
	{{operationId}} {{#hasParams}}({{#allParams}}{{paramName}}: {{#required}}{{{dataType}}}{{/required}}{{^required}}{{#isPrimitiveType}}{{{dataType}}}{{/isPrimitiveType}}{{^isPrimitiveType}}detachable {{{dataType}}}{{/isPrimitiveType}}{{/required}}{{^-last}}; {{/-last}}{{/allParams}}){{/hasParams}}{{#returnType}}: detachable {{{.}}}{{/returnType}}
 | 
			
		||||
			-- {{summary}}
 | 
			
		||||
			-- {{notes}}
 | 
			
		||||
			-- {{#allParams}}
 | 
			
		||||
			-- argument: {{paramName}} {{description}}{{#required}} (required){{/required}}{{^required}} (optional{{#defaultValue}}, default to {{{.}}}{{/defaultValue}}){{/required}}
 | 
			
		||||
			-- {{/allParams}}
 | 
			
		||||
			-- {{#returnType}}
 | 
			
		||||
			-- Result {{returnType}}{{/returnType}}
 | 
			
		||||
			-- Result {{.}}{{/returnType}}
 | 
			
		||||
		require
 | 
			
		||||
		{{#allParams}}
 | 
			
		||||
		{{#hasValidation}}
 | 
			
		||||
@ -45,7 +45,7 @@ feature -- API Access
 | 
			
		||||
			l_path.replace_substring_all ("{"+"{{baseName}}"+"}", api_client.url_encode ({{{paramName}}}.out))
 | 
			
		||||
			{{/pathParams}}
 | 
			
		||||
			{{#queryParams}}
 | 
			
		||||
			l_request.fill_query_params(api_client.parameter_to_tuple("{{#collectionFormat}}{{{collectionFormat}}}{{/collectionFormat}}", "{{baseName}}", {{paramName}}));
 | 
			
		||||
			l_request.fill_query_params(api_client.parameter_to_tuple("{{{collectionFormat}}}", "{{baseName}}", {{paramName}}));
 | 
			
		||||
			{{/queryParams}}
 | 
			
		||||
 | 
			
		||||
			{{#headerParams}}
 | 
			
		||||
 | 
			
		||||
@ -14,7 +14,7 @@ feature {NONE} -- Initialization
 | 
			
		||||
			set_base_path (default_base_path)
 | 
			
		||||
 | 
			
		||||
				--set default user_agent
 | 
			
		||||
			set_user_agent("{{#httpUserAgent}}{{{.}}}{{/httpUserAgent}}{{^httpUserAgent}}OpenAPI-Generator/{{{artifactVersion}}}/Eiffel{{/httpUserAgent}}");
 | 
			
		||||
			set_user_agent("{{{httpUserAgent}}}{{^httpUserAgent}}OpenAPI-Generator/{{{artifactVersion}}}/Eiffel{{/httpUserAgent}}");
 | 
			
		||||
 | 
			
		||||
			create authentications.make (3) {{#authMethods}}{{#isBasic}}
 | 
			
		||||
			authentications.force (create {HTTP_BASIC_AUTH}, "{{name}}")
 | 
			
		||||
 | 
			
		||||
@ -1,29 +1,29 @@
 | 
			
		||||
# {{classname}}{{#description}}
 | 
			
		||||
{{description}}{{/description}}
 | 
			
		||||
{{.}}{{/description}}
 | 
			
		||||
 | 
			
		||||
All URIs are relative to *{{basePath}}*
 | 
			
		||||
 | 
			
		||||
Feature | HTTP request | Description
 | 
			
		||||
------------- | ------------- | -------------
 | 
			
		||||
{{#operations}}{{#operation}}[**{{operationId}}**]({{classname}}.md#{{operationId}}) | **{{httpMethod}}** {{path}} | {{#summary}}{{summary}}{{/summary}}
 | 
			
		||||
{{#operations}}{{#operation}}[**{{operationId}}**]({{classname}}.md#{{operationId}}) | **{{httpMethod}}** {{path}} | {{summary}}
 | 
			
		||||
{{/operation}}{{/operations}}
 | 
			
		||||
 | 
			
		||||
{{#operations}}
 | 
			
		||||
{{#operation}}
 | 
			
		||||
# **{{{operationId}}}**
 | 
			
		||||
> {{operationId}} {{#hasParams}}({{#allParams}}{{paramName}}: {{#required}}{{{dataType}}}{{/required}}{{^required}} detachable {{{dataType}}}{{/required}} {{^-last}}; {{/-last}}{{/allParams}}){{/hasParams}}{{#returnType}}: detachable {{{returnType}}}{{/returnType}}{{^returnType}}{{/returnType}}
 | 
			
		||||
> {{operationId}} {{#hasParams}}({{#allParams}}{{paramName}}: {{#required}}{{{dataType}}}{{/required}}{{^required}} detachable {{{dataType}}}{{/required}} {{^-last}}; {{/-last}}{{/allParams}}){{/hasParams}}{{#returnType}}: detachable {{{.}}}{{/returnType}}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
{{{summary}}}{{#notes}}
 | 
			
		||||
 | 
			
		||||
{{{notes}}}{{/notes}}
 | 
			
		||||
{{{.}}}{{/notes}}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
### Parameters
 | 
			
		||||
{{^allParams}}This endpoint does not need any parameter.{{/allParams}}{{#allParams}}{{#-last}}
 | 
			
		||||
Name | Type | Description  | Notes
 | 
			
		||||
------------- | ------------- | ------------- | -------------{{/-last}}{{/allParams}}
 | 
			
		||||
{{#allParams}} **{{paramName}}** | {{#isPrimitiveType}}**{{dataType}}**{{/isPrimitiveType}}{{^isPrimitiveType}}[**{{dataType}}**]({{baseType}}.md){{/isPrimitiveType}}| {{description}} | {{^required}}[optional] {{/required}}{{#defaultValue}}[default to {{defaultValue}}]{{/defaultValue}}
 | 
			
		||||
{{#allParams}} **{{paramName}}** | {{#isPrimitiveType}}**{{dataType}}**{{/isPrimitiveType}}{{^isPrimitiveType}}[**{{dataType}}**]({{baseType}}.md){{/isPrimitiveType}}| {{description}} | {{^required}}[optional] {{/required}}{{#defaultValue}}[default to {{.}}]{{/defaultValue}}
 | 
			
		||||
{{/allParams}}
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
@ -25,23 +25,23 @@ feature --Access
 | 
			
		||||
    {{#isPrimitiveType}}
 | 
			
		||||
    {{^isContainer}}
 | 
			
		||||
 	{{name}}: {{{dataType}}}
 | 
			
		||||
    	 {{#description}}-- {{{description}}}{{/description}}
 | 
			
		||||
    	 {{#description}}-- {{{.}}}{{/description}}
 | 
			
		||||
     {{/isContainer}}
 | 
			
		||||
    {{/isPrimitiveType}}
 | 
			
		||||
    {{#isPrimitiveType}}
 | 
			
		||||
    {{#isContainer}}
 | 
			
		||||
 	{{name}}: detachable {{{datatypeWithEnum}}}
 | 
			
		||||
    	 {{#description}}-- {{{description}}}{{/description}}
 | 
			
		||||
    	 {{#description}}-- {{{.}}}{{/description}}
 | 
			
		||||
    {{/isContainer}}
 | 
			
		||||
    {{/isPrimitiveType}}
 | 
			
		||||
    {{^isPrimitiveType}}
 | 
			
		||||
    {{#isContainer}}
 | 
			
		||||
    {{name}}: detachable {{{datatypeWithEnum}}}
 | 
			
		||||
      {{#description}}-- {{{description}}}{{/description}}
 | 
			
		||||
      {{#description}}-- {{{.}}}{{/description}}
 | 
			
		||||
    {{/isContainer}}
 | 
			
		||||
    {{^isContainer}}
 | 
			
		||||
    {{name}}: detachable {{{dataType}}}
 | 
			
		||||
      {{#description}}-- {{{description}}}{{/description}}
 | 
			
		||||
      {{#description}}-- {{{.}}}{{/description}}
 | 
			
		||||
    {{/isContainer}}
 | 
			
		||||
    {{/isPrimitiveType}}
 | 
			
		||||
    {{/isInherited}}
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
class {{#datatypeWithEnum}}{{{.}}}{{/datatypeWithEnum}}{{^datatypeWithEnum}}{{classname}}{{/datatypeWithEnum}}
 | 
			
		||||
class {{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{classname}}{{/datatypeWithEnum}}
 | 
			
		||||
 | 
			
		||||
feature -- Access
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -4,4 +4,3 @@
 | 
			
		||||
{{#isEnum}}{{>model_enum}}{{/isEnum}}{{^isEnum}}{{>model}}{{/isEnum}}
 | 
			
		||||
{{/model}}
 | 
			
		||||
{{/models}}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -2,8 +2,8 @@ note
 | 
			
		||||
 description:"[
 | 
			
		||||
		{{{appName}}}
 | 
			
		||||
 		{{{appDescription}}}
 | 
			
		||||
  		{{#version}}The version of the OpenAPI document: {{{version}}}{{/version}}
 | 
			
		||||
 	    {{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}}
 | 
			
		||||
  		{{#version}}The version of the OpenAPI document: {{{.}}}{{/version}}
 | 
			
		||||
 	    {{#infoEmail}}Contact: {{{.}}}{{/infoEmail}}
 | 
			
		||||
 | 
			
		||||
  	NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -21,7 +21,7 @@ feature -- Test routines
 | 
			
		||||
            -- {{notes}}
 | 
			
		||||
        local
 | 
			
		||||
            {{#returnType}}
 | 
			
		||||
            l_response: {{{returnType}}}
 | 
			
		||||
            l_response: {{{.}}}
 | 
			
		||||
            {{/returnType}}
 | 
			
		||||
            {{#allParams}}
 | 
			
		||||
            l_{{paramName}}: {{{dataType}}}
 | 
			
		||||
 | 
			
		||||
@ -13,4 +13,3 @@ branches:
 | 
			
		||||
  - master
 | 
			
		||||
 | 
			
		||||
script: compile_all -ecb -melt -list_failures -clean -options dotnet=false
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -1,14 +1,14 @@
 | 
			
		||||
# {{packageName}}
 | 
			
		||||
 | 
			
		||||
{{#appDescriptionWithNewLines}}
 | 
			
		||||
{{{appDescriptionWithNewLines}}}
 | 
			
		||||
{{{.}}}
 | 
			
		||||
{{/appDescriptionWithNewLines}}
 | 
			
		||||
 | 
			
		||||
This Groovy package, using the [http-builder-ng library](https://http-builder-ng.github.io/http-builder-ng/), is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
 | 
			
		||||
 | 
			
		||||
- API version: {{appVersion}}
 | 
			
		||||
{{#artifactVersion}}
 | 
			
		||||
- Package version: {{artifactVersion}}
 | 
			
		||||
- Package version: {{.}}
 | 
			
		||||
{{/artifactVersion}}
 | 
			
		||||
{{^hideGenerationTimestamp}}
 | 
			
		||||
- Build date: {{generatedDate}}
 | 
			
		||||
@ -48,7 +48,7 @@ def apiInstance = new {{classname}}()
 | 
			
		||||
apiInstance.{{{operationId}}}({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}})
 | 
			
		||||
    {
 | 
			
		||||
    // on success
 | 
			
		||||
    {{#returnType}}def result = ({{returnType}})it
 | 
			
		||||
    {{#returnType}}def result = ({{.}})it
 | 
			
		||||
    println result
 | 
			
		||||
    {{/returnType}}
 | 
			
		||||
    {{^returnType}}println it{{/returnType}}
 | 
			
		||||
 | 
			
		||||
@ -73,7 +73,7 @@ class {{classname}} {
 | 
			
		||||
 | 
			
		||||
        apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType,
 | 
			
		||||
                    "{{httpMethod}}", "{{returnContainer}}",
 | 
			
		||||
                    {{#returnBaseType}}{{{returnBaseType}}}.class {{/returnBaseType}}{{^returnBaseType}}null {{/returnBaseType}})
 | 
			
		||||
                    {{#returnBaseType}}{{{.}}}.class {{/returnBaseType}}{{^returnBaseType}}null {{/returnBaseType}})
 | 
			
		||||
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -10,8 +10,8 @@ import {{import}};
 | 
			
		||||
@Canonical
 | 
			
		||||
class {{classname}} {
 | 
			
		||||
    {{#vars}}
 | 
			
		||||
    {{#description}}/* {{{description}}} */{{/description}}
 | 
			
		||||
    {{{dataType}}} {{name}}{{#defaultValue}} = {{{defaultValue}}}{{/defaultValue}}
 | 
			
		||||
    {{#description}}/* {{{.}}} */{{/description}}
 | 
			
		||||
    {{{dataType}}} {{name}}{{#defaultValue}} = {{{.}}}{{/defaultValue}}
 | 
			
		||||
    {{/vars}}
 | 
			
		||||
}
 | 
			
		||||
{{/model}}
 | 
			
		||||
 | 
			
		||||
@ -140,7 +140,7 @@ public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} {
 | 
			
		||||
    dateFormat = ApiClient.buildDefaultDateFormat();
 | 
			
		||||
 | 
			
		||||
    // Set default User-Agent.
 | 
			
		||||
    setUserAgent("{{#httpUserAgent}}{{{.}}}{{/httpUserAgent}}{{^httpUserAgent}}OpenAPI-Generator/{{{artifactVersion}}}/java{{/httpUserAgent}}");
 | 
			
		||||
    setUserAgent("{{{httpUserAgent}}}{{^httpUserAgent}}OpenAPI-Generator/{{{artifactVersion}}}/java{{/httpUserAgent}}");
 | 
			
		||||
 | 
			
		||||
    // Setup authentications (key: authentication name, value: authentication).
 | 
			
		||||
    authentications = new HashMap<String, Authentication>();{{#authMethods}}{{#isBasic}}{{#isBasicBasic}}
 | 
			
		||||
 | 
			
		||||
@ -8,7 +8,7 @@
 | 
			
		||||
- Build date: {{generatedDate}}
 | 
			
		||||
{{/hideGenerationTimestamp}}
 | 
			
		||||
 | 
			
		||||
{{#appDescriptionWithNewLines}}{{{appDescriptionWithNewLines}}}{{/appDescriptionWithNewLines}}
 | 
			
		||||
{{{appDescriptionWithNewLines}}}
 | 
			
		||||
 | 
			
		||||
{{#infoUrl}}
 | 
			
		||||
  For more information, please visit [{{{infoUrl}}}]({{{infoUrl}}})
 | 
			
		||||
@ -157,7 +157,7 @@ public class {{{classname}}}Example {
 | 
			
		||||
        {{{dataType}}} {{{paramName}}} = {{{example}}}; // {{{dataType}}} | {{{description}}}
 | 
			
		||||
        {{/allParams}}
 | 
			
		||||
        try {
 | 
			
		||||
            {{#returnType}}{{{returnType}}} result = {{/returnType}}apiInstance.{{{operationId}}}({{#allParams}}{{{paramName}}}{{^-last}}, {{/-last}}{{/allParams}});{{#returnType}}
 | 
			
		||||
            {{#returnType}}{{{.}}} result = {{/returnType}}apiInstance.{{{operationId}}}({{#allParams}}{{{paramName}}}{{^-last}}, {{/-last}}{{/allParams}});{{#returnType}}
 | 
			
		||||
            System.out.println(result);{{/returnType}}
 | 
			
		||||
        } catch (ApiException e) {
 | 
			
		||||
            System.err.println("Exception when calling {{{classname}}}#{{{operationId}}}");
 | 
			
		||||
@ -177,7 +177,7 @@ All URIs are relative to *{{basePath}}*
 | 
			
		||||
 | 
			
		||||
Class | Method | HTTP request | Description
 | 
			
		||||
------------ | ------------- | ------------- | -------------
 | 
			
		||||
{{#apiInfo}}{{#apis}}{{#operations}}{{#operation}}*{{classname}}* | [**{{operationId}}**]({{apiDocPath}}{{classname}}.md#{{operationId}}) | **{{httpMethod}}** {{commonPath}}{{path}} | {{#summary}}{{summary}}{{/summary}}
 | 
			
		||||
{{#apiInfo}}{{#apis}}{{#operations}}{{#operation}}*{{classname}}* | [**{{operationId}}**]({{apiDocPath}}{{classname}}.md#{{operationId}}) | **{{httpMethod}}** {{commonPath}}{{path}} | {{summary}}
 | 
			
		||||
{{/operation}}{{/operations}}{{/apis}}{{/apiInfo}}
 | 
			
		||||
 | 
			
		||||
## Documentation for Models
 | 
			
		||||
 | 
			
		||||
@ -49,7 +49,7 @@ public class {{classname}} {
 | 
			
		||||
   * @param {{paramName}} {{description}}{{#required}} (required){{/required}}{{^required}} (optional{{^isContainer}}{{#defaultValue}}, default to {{.}}{{/defaultValue}}){{/isContainer}}{{/required}}
 | 
			
		||||
   {{/allParams}}
 | 
			
		||||
   {{#returnType}}
 | 
			
		||||
   * @return {{returnType}}
 | 
			
		||||
   * @return {{.}}
 | 
			
		||||
   {{/returnType}}
 | 
			
		||||
   * @throws ApiException if fails to make API call
 | 
			
		||||
   {{#isDeprecated}}
 | 
			
		||||
@ -63,7 +63,7 @@ public class {{classname}} {
 | 
			
		||||
  {{#isDeprecated}}
 | 
			
		||||
  @Deprecated
 | 
			
		||||
  {{/isDeprecated}}
 | 
			
		||||
  public {{#returnType}}{{{returnType}}} {{/returnType}}{{^returnType}}void {{/returnType}}{{operationId}}({{#allParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException {
 | 
			
		||||
  public {{#returnType}}{{{.}}} {{/returnType}}{{^returnType}}void {{/returnType}}{{operationId}}({{#allParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException {
 | 
			
		||||
    Object localVarPostBody = {{#bodyParam}}{{paramName}}{{/bodyParam}}{{^bodyParam}}null{{/bodyParam}};
 | 
			
		||||
    {{#allParams}}{{#required}}
 | 
			
		||||
    // verify the required parameter '{{paramName}}' is set
 | 
			
		||||
@ -83,7 +83,7 @@ public class {{classname}} {
 | 
			
		||||
    {{javaUtilPrefix}}Map<String, Object> localVarFormParams = new {{javaUtilPrefix}}HashMap<String, Object>();
 | 
			
		||||
 | 
			
		||||
    {{#queryParams}}
 | 
			
		||||
    {{#collectionFormat}}localVarCollectionQueryParams.addAll(apiClient.parameterToPairs("{{{collectionFormat}}}", {{/collectionFormat}}{{^collectionFormat}}localVarQueryParams.addAll(apiClient.parameterToPair({{/collectionFormat}}"{{baseName}}", {{paramName}}));
 | 
			
		||||
    {{#collectionFormat}}localVarCollectionQueryParams.addAll(apiClient.parameterToPairs("{{{.}}}", {{/collectionFormat}}{{^collectionFormat}}localVarQueryParams.addAll(apiClient.parameterToPair({{/collectionFormat}}"{{baseName}}", {{paramName}}));
 | 
			
		||||
    {{/queryParams}}
 | 
			
		||||
 | 
			
		||||
    {{#headerParams}}if ({{paramName}} != null)
 | 
			
		||||
 | 
			
		||||
@ -1,12 +1,12 @@
 | 
			
		||||
# {{classname}}{{#description}}
 | 
			
		||||
 | 
			
		||||
{{description}}{{/description}}
 | 
			
		||||
{{.}}{{/description}}
 | 
			
		||||
 | 
			
		||||
All URIs are relative to *{{basePath}}*
 | 
			
		||||
 | 
			
		||||
Method | HTTP request | Description
 | 
			
		||||
------------- | ------------- | -------------
 | 
			
		||||
{{#operations}}{{#operation}}[**{{operationId}}**]({{classname}}.md#{{operationId}}) | **{{httpMethod}}** {{commonPath}}{{path}} | {{#summary}}{{summary}}{{/summary}}
 | 
			
		||||
{{#operations}}{{#operation}}[**{{operationId}}**]({{classname}}.md#{{operationId}}) | **{{httpMethod}}** {{commonPath}}{{path}} | {{summary}}
 | 
			
		||||
{{/operation}}{{/operations}}
 | 
			
		||||
 | 
			
		||||
{{#operations}}
 | 
			
		||||
@ -14,11 +14,11 @@ Method | HTTP request | Description
 | 
			
		||||
 | 
			
		||||
## {{operationId}}
 | 
			
		||||
 | 
			
		||||
> {{#returnType}}{{returnType}} {{/returnType}}{{operationId}}({{#allParams}}{{{paramName}}}{{^-last}}, {{/-last}}{{/allParams}})
 | 
			
		||||
> {{#returnType}}{{.}} {{/returnType}}{{operationId}}({{#allParams}}{{{paramName}}}{{^-last}}, {{/-last}}{{/allParams}})
 | 
			
		||||
 | 
			
		||||
{{summary}}{{#notes}}
 | 
			
		||||
 | 
			
		||||
{{notes}}{{/notes}}
 | 
			
		||||
{{.}}{{/notes}}
 | 
			
		||||
 | 
			
		||||
### Example
 | 
			
		||||
 | 
			
		||||
@ -60,7 +60,7 @@ public class Example {
 | 
			
		||||
        {{{dataType}}} {{{paramName}}} = {{{example}}}; // {{{dataType}}} | {{{description}}}
 | 
			
		||||
        {{/allParams}}
 | 
			
		||||
        try {
 | 
			
		||||
            {{#returnType}}{{{returnType}}} result = {{/returnType}}apiInstance.{{{operationId}}}({{#allParams}}{{{paramName}}}{{^-last}}, {{/-last}}{{/allParams}});{{#returnType}}
 | 
			
		||||
            {{#returnType}}{{{.}}} result = {{/returnType}}apiInstance.{{{operationId}}}({{#allParams}}{{{paramName}}}{{^-last}}, {{/-last}}{{/allParams}});{{#returnType}}
 | 
			
		||||
            System.out.println(result);{{/returnType}}
 | 
			
		||||
        } catch (ApiException e) {
 | 
			
		||||
            System.err.println("Exception when calling {{{classname}}}#{{{operationId}}}");
 | 
			
		||||
@ -78,7 +78,7 @@ public class Example {
 | 
			
		||||
{{^allParams}}This endpoint does not need any parameter.{{/allParams}}{{#allParams}}{{#-last}}
 | 
			
		||||
Name | Type | Description  | Notes
 | 
			
		||||
------------- | ------------- | ------------- | -------------{{/-last}}{{/allParams}}
 | 
			
		||||
{{#allParams}} **{{paramName}}** | {{#isPrimitiveType}}**{{dataType}}**{{/isPrimitiveType}}{{^isPrimitiveType}}{{#isFile}}**{{dataType}}**{{/isFile}}{{^isFile}}[**{{dataType}}**]({{baseType}}.md){{/isFile}}{{/isPrimitiveType}}| {{description}} |{{^required}} [optional]{{/required}}{{^isContainer}}{{#defaultValue}} [default to {{defaultValue}}]{{/defaultValue}}{{/isContainer}}{{#allowableValues}} [enum: {{#values}}{{{.}}}{{^-last}}, {{/-last}}{{/values}}]{{/allowableValues}}
 | 
			
		||||
{{#allParams}} **{{paramName}}** | {{#isPrimitiveType}}**{{dataType}}**{{/isPrimitiveType}}{{^isPrimitiveType}}{{#isFile}}**{{dataType}}**{{/isFile}}{{^isFile}}[**{{dataType}}**]({{baseType}}.md){{/isFile}}{{/isPrimitiveType}}| {{description}} |{{^required}} [optional]{{/required}}{{^isContainer}}{{#defaultValue}} [default to {{.}}]{{/defaultValue}}{{/isContainer}}{{#allowableValues}} [enum: {{#values}}{{{.}}}{{^-last}}, {{/-last}}{{/values}}]{{/allowableValues}}
 | 
			
		||||
{{/allParams}}
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
@ -27,11 +27,11 @@ public class {{classname}}Test {
 | 
			
		||||
    {{#operation}}
 | 
			
		||||
    /**
 | 
			
		||||
    {{#summary}}
 | 
			
		||||
     * {{summary}}
 | 
			
		||||
     * {{.}}
 | 
			
		||||
     *
 | 
			
		||||
    {{/summary}}
 | 
			
		||||
    {{#notes}}
 | 
			
		||||
     * {{notes}}
 | 
			
		||||
     * {{.}}
 | 
			
		||||
     *
 | 
			
		||||
    {{/notes}}
 | 
			
		||||
     * @throws ApiException
 | 
			
		||||
@ -42,7 +42,7 @@ public class {{classname}}Test {
 | 
			
		||||
        //{{#allParams}}
 | 
			
		||||
        //{{{dataType}}} {{paramName}} = null;
 | 
			
		||||
        //{{/allParams}}
 | 
			
		||||
        //{{#returnType}}{{{returnType}}} response = {{/returnType}}api.{{operationId}}({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}});
 | 
			
		||||
        //{{#returnType}}{{{.}}} response = {{/returnType}}api.{{operationId}}({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}});
 | 
			
		||||
 | 
			
		||||
        // TODO: test validations
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
@ -4,17 +4,17 @@ minLength && maxLength set
 | 
			
		||||
minLength set, maxLength not
 | 
			
		||||
}}{{#minLength}}{{^maxLength}} @Size(min={{minLength}}){{/maxLength}}{{/minLength}}{{!
 | 
			
		||||
minLength not set, maxLength set
 | 
			
		||||
}}{{^minLength}}{{#maxLength}} @Size(max={{maxLength}}){{/maxLength}}{{/minLength}}{{!
 | 
			
		||||
}}{{^minLength}}{{#maxLength}} @Size(max={{.}}){{/maxLength}}{{/minLength}}{{!
 | 
			
		||||
@Size: minItems && maxItems set
 | 
			
		||||
}}{{#minItems}}{{#maxItems}} @Size(min={{minItems}},max={{maxItems}}){{/maxItems}}{{/minItems}}{{!
 | 
			
		||||
@Size: minItems set, maxItems not
 | 
			
		||||
}}{{#minItems}}{{^maxItems}} @Size(min={{minItems}}){{/maxItems}}{{/minItems}}{{!
 | 
			
		||||
@Size: minItems not set && maxItems set
 | 
			
		||||
}}{{^minItems}}{{#maxItems}} @Size(max={{maxItems}}){{/maxItems}}{{/minItems}}{{!
 | 
			
		||||
}}{{^minItems}}{{#maxItems}} @Size(max={{.}}){{/maxItems}}{{/minItems}}{{!
 | 
			
		||||
check for integer or long / all others=decimal type with @Decimal*
 | 
			
		||||
isInteger set
 | 
			
		||||
}}{{#isInteger}}{{#minimum}} @Min({{minimum}}){{/minimum}}{{#maximum}} @Max({{maximum}}){{/maximum}}{{/isInteger}}{{!
 | 
			
		||||
}}{{#isInteger}}{{#minimum}} @Min({{.}}){{/minimum}}{{#maximum}} @Max({{.}}){{/maximum}}{{/isInteger}}{{!
 | 
			
		||||
isLong set
 | 
			
		||||
}}{{#isLong}}{{#minimum}} @Min({{minimum}}L){{/minimum}}{{#maximum}} @Max({{maximum}}L){{/maximum}}{{/isLong}}{{!
 | 
			
		||||
}}{{#isLong}}{{#minimum}} @Min({{.}}L){{/minimum}}{{#maximum}} @Max({{.}}L){{/maximum}}{{/isLong}}{{!
 | 
			
		||||
Not Integer, not Long => we have a decimal value!
 | 
			
		||||
}}{{^isInteger}}{{^isLong}}{{#minimum}} @DecimalMin({{#exclusiveMinimum}}value={{/exclusiveMinimum}}"{{minimum}}"{{#exclusiveMinimum}},inclusive=false{{/exclusiveMinimum}}){{/minimum}}{{#maximum}} @DecimalMax({{#exclusiveMaximum}}value={{/exclusiveMaximum}}"{{maximum}}"{{#exclusiveMaximum}},inclusive=false{{/exclusiveMaximum}}){{/maximum}}{{/isLong}}{{/isInteger}}
 | 
			
		||||
@ -164,4 +164,3 @@ dependencies {
 | 
			
		||||
    implementation 'javax.annotation:javax.annotation-api:1.3.2'
 | 
			
		||||
    testImplementation "junit:junit:$junit_version"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -55,4 +55,3 @@ git pull origin master
 | 
			
		||||
# Pushes (Forces) the changes in the local repository up to the remote repository
 | 
			
		||||
echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
 | 
			
		||||
git push origin master 2>&1 | grep -v 'To https'
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -8,12 +8,12 @@
 | 
			
		||||
  @JsonInclude({{#isMap}}{{#items.isNullable}}content = JsonInclude.Include.ALWAYS, {{/items.isNullable}}{{/isMap}}value = JsonInclude.Include.{{#required}}ALWAYS{{/required}}{{^required}}USE_DEFAULTS{{/required}})
 | 
			
		||||
  {{#withXml}}
 | 
			
		||||
    {{^isContainer}}
 | 
			
		||||
  @JacksonXmlProperty({{#isXmlAttribute}}isAttribute = true, {{/isXmlAttribute}}{{#xmlNamespace}}namespace="{{xmlNamespace}}", {{/xmlNamespace}}localName = "{{#xmlName}}{{xmlName}}{{/xmlName}}{{^xmlName}}{{baseName}}{{/xmlName}}")
 | 
			
		||||
  @JacksonXmlProperty({{#isXmlAttribute}}isAttribute = true, {{/isXmlAttribute}}{{#xmlNamespace}}namespace="{{.}}", {{/xmlNamespace}}localName = "{{xmlName}}{{^xmlName}}{{baseName}}{{/xmlName}}")
 | 
			
		||||
    {{/isContainer}}
 | 
			
		||||
    {{#isContainer}}
 | 
			
		||||
      {{#isXmlWrapped}}
 | 
			
		||||
  // items.xmlName={{items.xmlName}}
 | 
			
		||||
  @JacksonXmlElementWrapper(useWrapping = {{isXmlWrapped}}, {{#xmlNamespace}}namespace="{{xmlNamespace}}", {{/xmlNamespace}}localName = "{{#items.xmlName}}{{items.xmlName}}{{/items.xmlName}}{{^items.xmlName}}{{items.baseName}}{{/items.xmlName}}")
 | 
			
		||||
  @JacksonXmlElementWrapper(useWrapping = {{isXmlWrapped}}, {{#xmlNamespace}}namespace="{{.}}", {{/xmlNamespace}}localName = "{{#items.xmlName}}{{items.xmlName}}{{/items.xmlName}}{{^items.xmlName}}{{items.baseName}}{{/items.xmlName}}")
 | 
			
		||||
      {{/isXmlWrapped}}
 | 
			
		||||
    {{/isContainer}}
 | 
			
		||||
  {{/withXml}}
 | 
			
		||||
@ -28,7 +28,7 @@ public interface {{classname}} extends ApiClient.Api {
 | 
			
		||||
   * @param {{paramName}} {{description}}{{#required}} (required){{/required}}{{^required}} (optional{{^isContainer}}{{#defaultValue}}, default to {{.}}{{/defaultValue}}{{/isContainer}}){{/required}}
 | 
			
		||||
{{/allParams}}
 | 
			
		||||
{{#returnType}}
 | 
			
		||||
   * @return {{returnType}}
 | 
			
		||||
   * @return {{.}}
 | 
			
		||||
{{/returnType}}
 | 
			
		||||
{{#externalDocs}}
 | 
			
		||||
   * {{description}}
 | 
			
		||||
@ -48,7 +48,7 @@ public interface {{classname}} extends ApiClient.Api {
 | 
			
		||||
    "{{baseName}}: {{=<% %>=}}{<%paramName%>}<%={{ }}=%>"{{^-last}},
 | 
			
		||||
    {{/-last}}{{/headerParams}}
 | 
			
		||||
  })
 | 
			
		||||
  {{#returnType}}{{{returnType}}} {{/returnType}}{{^returnType}}void {{/returnType}}{{nickname}}({{#allParams}}{{^isBodyParam}}{{^legacyDates}}@Param("{{paramName}}") {{/legacyDates}}{{#legacyDates}}@Param(value="{{paramName}}", expander=ParamExpander.class) {{/legacyDates}}{{/isBodyParam}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}});
 | 
			
		||||
  {{#returnType}}{{{.}}} {{/returnType}}{{^returnType}}void {{/returnType}}{{nickname}}({{#allParams}}{{^isBodyParam}}{{^legacyDates}}@Param("{{paramName}}") {{/legacyDates}}{{#legacyDates}}@Param(value="{{paramName}}", expander=ParamExpander.class) {{/legacyDates}}{{/isBodyParam}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}});
 | 
			
		||||
    {{#hasQueryParams}}
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
@ -72,7 +72,7 @@ public interface {{classname}} extends ApiClient.Api {
 | 
			
		||||
      {{/queryParams}}
 | 
			
		||||
   *   </ul>
 | 
			
		||||
      {{#returnType}}
 | 
			
		||||
   * @return {{returnType}}
 | 
			
		||||
   * @return {{.}}
 | 
			
		||||
      {{/returnType}}
 | 
			
		||||
      {{#externalDocs}}
 | 
			
		||||
   * {{description}}
 | 
			
		||||
@ -92,7 +92,7 @@ public interface {{classname}} extends ApiClient.Api {
 | 
			
		||||
      "{{baseName}}: {{=<% %>=}}{<%paramName%>}<%={{ }}=%>"{{^-last}},
 | 
			
		||||
      {{/-last}}{{/headerParams}}
 | 
			
		||||
  })
 | 
			
		||||
  {{#returnType}}{{{returnType}}} {{/returnType}}{{^returnType}}void {{/returnType}}{{nickname}}({{#allParams}}{{^isQueryParam}}{{^isBodyParam}}{{^legacyDates}}@Param("{{paramName}}") {{/legacyDates}}{{#legacyDates}}@Param(value="{{paramName}}", expander=ParamExpander.class) {{/legacyDates}}{{/isBodyParam}}{{{dataType}}} {{paramName}}, {{/isQueryParam}}{{/allParams}}@QueryMap(encoded=true) Map<String, Object> queryParams);
 | 
			
		||||
  {{#returnType}}{{{.}}} {{/returnType}}{{^returnType}}void {{/returnType}}{{nickname}}({{#allParams}}{{^isQueryParam}}{{^isBodyParam}}{{^legacyDates}}@Param("{{paramName}}") {{/legacyDates}}{{#legacyDates}}@Param(value="{{paramName}}", expander=ParamExpander.class) {{/legacyDates}}{{/isBodyParam}}{{{dataType}}} {{paramName}}, {{/isQueryParam}}{{/allParams}}@QueryMap(encoded=true) Map<String, Object> queryParams);
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * A convenience class for generating query parameters for the
 | 
			
		||||
 | 
			
		||||
@ -36,7 +36,7 @@ class {{classname}}Test {
 | 
			
		||||
        {{#allParams}}
 | 
			
		||||
        {{{dataType}}} {{paramName}} = null;
 | 
			
		||||
        {{/allParams}}
 | 
			
		||||
        // {{#returnType}}{{{returnType}}} response = {{/returnType}}api.{{operationId}}({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}});
 | 
			
		||||
        // {{#returnType}}{{{.}}} response = {{/returnType}}api.{{operationId}}({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}});
 | 
			
		||||
 | 
			
		||||
        // TODO: test validations
 | 
			
		||||
    }
 | 
			
		||||
@ -61,7 +61,7 @@ class {{classname}}Test {
 | 
			
		||||
          {{#queryParams}}
 | 
			
		||||
            .{{paramName}}(null){{#-last}};{{/-last}}
 | 
			
		||||
          {{/queryParams}}
 | 
			
		||||
        // {{#returnType}}{{{returnType}}} response = {{/returnType}}api.{{operationId}}({{#allParams}}{{^isQueryParam}}{{paramName}}, {{/isQueryParam}}{{/allParams}}queryParams);
 | 
			
		||||
        // {{#returnType}}{{{.}}} response = {{/returnType}}api.{{operationId}}({{#allParams}}{{^isQueryParam}}{{paramName}}, {{/isQueryParam}}{{/allParams}}queryParams);
 | 
			
		||||
 | 
			
		||||
    // TODO: test validations
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
@ -45,11 +45,11 @@ public class {{classname}} {
 | 
			
		||||
 | 
			
		||||
    {{#operation}}
 | 
			
		||||
  /**{{#summary}}
 | 
			
		||||
    * {{summary}}{{/summary}}{{#notes}}
 | 
			
		||||
    * {{notes}}{{/notes}}{{#responses}}
 | 
			
		||||
    * <p><b>{{code}}</b>{{#message}} - {{message}}{{/message}}{{/responses}}{{#allParams}}
 | 
			
		||||
    * {{.}}{{/summary}}{{#notes}}
 | 
			
		||||
    * {{.}}{{/notes}}{{#responses}}
 | 
			
		||||
    * <p><b>{{code}}</b>{{#message}} - {{.}}{{/message}}{{/responses}}{{#allParams}}
 | 
			
		||||
    * @param {{paramName}} {{description}}{{^description}}The {{paramName}} parameter{{/description}}{{/allParams}}{{#returnType}}
 | 
			
		||||
    * @return {{returnType}}{{/returnType}}
 | 
			
		||||
    * @return {{.}}{{/returnType}}
 | 
			
		||||
    * @throws IOException if an error occurs while attempting to invoke the API{{#externalDocs}}
 | 
			
		||||
    * {{description}}
 | 
			
		||||
    * @see <a href="{{url}}">{{summary}} Documentation</a>
 | 
			
		||||
@ -61,19 +61,19 @@ public class {{classname}} {
 | 
			
		||||
    {{#isDeprecated}}
 | 
			
		||||
    @Deprecated
 | 
			
		||||
    {{/isDeprecated}}
 | 
			
		||||
    public {{#returnType}}{{{returnType}}} {{/returnType}}{{^returnType}}void {{/returnType}}{{operationId}}({{#allParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws IOException {
 | 
			
		||||
    public {{#returnType}}{{{.}}} {{/returnType}}{{^returnType}}void {{/returnType}}{{operationId}}({{#allParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws IOException {
 | 
			
		||||
        {{#returnType}}HttpResponse response = {{/returnType}}{{operationId}}ForHttpResponse({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}});{{#returnType}}
 | 
			
		||||
        TypeReference<{{{returnType}}}> typeRef = new TypeReference<{{{returnType}}}>() {};
 | 
			
		||||
        return apiClient.getObjectMapper().readValue(response.getContent(), typeRef);{{/returnType}}
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
  /**{{#summary}}
 | 
			
		||||
    * {{summary}}{{/summary}}{{#notes}}
 | 
			
		||||
    * {{notes}}{{/notes}}{{#responses}}
 | 
			
		||||
    * <p><b>{{code}}</b>{{#message}} - {{message}}{{/message}}{{/responses}}{{#requiredParams}}
 | 
			
		||||
    * {{.}}{{/summary}}{{#notes}}
 | 
			
		||||
    * {{.}}{{/notes}}{{#responses}}
 | 
			
		||||
    * <p><b>{{code}}</b>{{#message}} - {{.}}{{/message}}{{/responses}}{{#requiredParams}}
 | 
			
		||||
    * @param {{paramName}} {{description}}{{^description}}The {{paramName}} parameter{{/description}}{{/requiredParams}}
 | 
			
		||||
    * @param params Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.{{#returnType}}
 | 
			
		||||
    * @return {{returnType}}{{/returnType}}
 | 
			
		||||
    * @return {{.}}{{/returnType}}
 | 
			
		||||
    * @throws IOException if an error occurs while attempting to invoke the API{{#externalDocs}}
 | 
			
		||||
    * {{description}}
 | 
			
		||||
    * @see <a href="{{url}}">{{summary}} Documentation</a>
 | 
			
		||||
@ -85,7 +85,7 @@ public class {{classname}} {
 | 
			
		||||
    {{#isDeprecated}}
 | 
			
		||||
    @Deprecated
 | 
			
		||||
    {{/isDeprecated}}
 | 
			
		||||
    public {{#returnType}}{{{returnType}}} {{/returnType}}{{^returnType}}void {{/returnType}}{{operationId}}({{#bodyParam}}{{^required}}{{{dataType}}} {{paramName}}, {{/required}}{{/bodyParam}}{{#requiredParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/requiredParams}}{{#hasRequiredParams}}, {{/hasRequiredParams}}Map<String, Object> params) throws IOException {
 | 
			
		||||
    public {{#returnType}}{{{.}}} {{/returnType}}{{^returnType}}void {{/returnType}}{{operationId}}({{#bodyParam}}{{^required}}{{{dataType}}} {{paramName}}, {{/required}}{{/bodyParam}}{{#requiredParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/requiredParams}}{{#hasRequiredParams}}, {{/hasRequiredParams}}Map<String, Object> params) throws IOException {
 | 
			
		||||
        {{#returnType}}HttpResponse response = {{/returnType}}{{operationId}}ForHttpResponse({{#bodyParam}}{{^required}}{{paramName}}, {{/required}}{{/bodyParam}}{{#requiredParams}}{{paramName}}{{^-last}}, {{/-last}}{{/requiredParams}}{{#hasRequiredParams}}, {{/hasRequiredParams}}params);{{#returnType}}
 | 
			
		||||
        TypeReference<{{{returnType}}}> typeRef = new TypeReference<{{{returnType}}}>() {};
 | 
			
		||||
        return apiClient.getObjectMapper().readValue(response.getContent(), typeRef);{{/returnType}}
 | 
			
		||||
 | 
			
		||||
@ -37,7 +37,7 @@ public class {{classname}}Test {
 | 
			
		||||
        {{#allParams}}
 | 
			
		||||
        {{{dataType}}} {{paramName}} = null;
 | 
			
		||||
        {{/allParams}}
 | 
			
		||||
        {{#returnType}}{{{returnType}}} response = {{/returnType}}api.{{operationId}}({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}});
 | 
			
		||||
        {{#returnType}}{{{.}}} response = {{/returnType}}api.{{operationId}}({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}});
 | 
			
		||||
 | 
			
		||||
        // TODO: test validations
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
@ -188,7 +188,7 @@ public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} {
 | 
			
		||||
    this.dateFormat = new RFC3339DateFormat();
 | 
			
		||||
 | 
			
		||||
    // Set default User-Agent.
 | 
			
		||||
    setUserAgent("{{#httpUserAgent}}{{{.}}}{{/httpUserAgent}}{{^httpUserAgent}}OpenAPI-Generator/{{{artifactVersion}}}/java{{/httpUserAgent}}");
 | 
			
		||||
    setUserAgent("{{{httpUserAgent}}}{{^httpUserAgent}}OpenAPI-Generator/{{{artifactVersion}}}/java{{/httpUserAgent}}");
 | 
			
		||||
 | 
			
		||||
    // Setup authentications (key: authentication name, value: authentication).
 | 
			
		||||
    authentications = new HashMap<String, Authentication>();
 | 
			
		||||
 | 
			
		||||
@ -58,7 +58,7 @@ public class {{classname}} {
 | 
			
		||||
   * @param {{paramName}} {{description}}{{#required}} (required){{/required}}{{^required}} (optional{{#defaultValue}}, default to {{.}}{{/defaultValue}}){{/required}}
 | 
			
		||||
   {{/allParams}}
 | 
			
		||||
   {{#returnType}}
 | 
			
		||||
   * @return {{returnType}}
 | 
			
		||||
   * @return {{.}}
 | 
			
		||||
   {{/returnType}}
 | 
			
		||||
   * @throws ApiException if fails to make API call
 | 
			
		||||
   {{#responses.0}}
 | 
			
		||||
@ -81,7 +81,7 @@ public class {{classname}} {
 | 
			
		||||
  {{#isDeprecated}}
 | 
			
		||||
  @Deprecated
 | 
			
		||||
  {{/isDeprecated}}
 | 
			
		||||
  public {{#returnType}}{{{returnType}}} {{/returnType}}{{^returnType}}void {{/returnType}}{{operationId}}({{#allParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException {
 | 
			
		||||
  public {{#returnType}}{{{.}}} {{/returnType}}{{^returnType}}void {{/returnType}}{{operationId}}({{#allParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException {
 | 
			
		||||
    {{#returnType}}return {{/returnType}}{{operationId}}WithHttpInfo({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}}){{#returnType}}.getData(){{/returnType}};
 | 
			
		||||
  }
 | 
			
		||||
  {{/vendorExtensions.x-group-parameters}}
 | 
			
		||||
@ -93,7 +93,7 @@ public class {{classname}} {
 | 
			
		||||
   {{#allParams}}
 | 
			
		||||
   * @param {{paramName}} {{description}}{{#required}} (required){{/required}}{{^required}} (optional{{#defaultValue}}, default to {{.}}{{/defaultValue}}){{/required}}
 | 
			
		||||
   {{/allParams}}
 | 
			
		||||
   * @return ApiResponse<{{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}Void{{/returnType}}>
 | 
			
		||||
   * @return ApiResponse<{{returnType}}{{^returnType}}Void{{/returnType}}>
 | 
			
		||||
   * @throws ApiException if fails to make API call
 | 
			
		||||
   {{#responses.0}}
 | 
			
		||||
   * @http.response.details
 | 
			
		||||
@ -115,7 +115,7 @@ public class {{classname}} {
 | 
			
		||||
  {{#isDeprecated}}
 | 
			
		||||
  @Deprecated
 | 
			
		||||
  {{/isDeprecated}}
 | 
			
		||||
  public{{/vendorExtensions.x-group-parameters}}{{#vendorExtensions.x-group-parameters}}private{{/vendorExtensions.x-group-parameters}} ApiResponse<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}> {{operationId}}WithHttpInfo({{#allParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException {
 | 
			
		||||
  public{{/vendorExtensions.x-group-parameters}}{{#vendorExtensions.x-group-parameters}}private{{/vendorExtensions.x-group-parameters}} ApiResponse<{{{returnType}}}{{^returnType}}Void{{/returnType}}> {{operationId}}WithHttpInfo({{#allParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException {
 | 
			
		||||
    Object localVarPostBody = {{#bodyParam}}{{paramName}}{{/bodyParam}}{{^bodyParam}}null{{/bodyParam}};
 | 
			
		||||
    {{#allParams}}{{#required}}
 | 
			
		||||
    // verify the required parameter '{{paramName}}' is set
 | 
			
		||||
@ -134,7 +134,7 @@ public class {{classname}} {
 | 
			
		||||
    {{javaUtilPrefix}}Map<String, Object> localVarFormParams = new {{javaUtilPrefix}}HashMap<String, Object>();
 | 
			
		||||
 | 
			
		||||
    {{#queryParams}}
 | 
			
		||||
    localVarQueryParams.addAll(apiClient.parameterToPairs("{{#collectionFormat}}{{{collectionFormat}}}{{/collectionFormat}}", "{{baseName}}", {{paramName}}));
 | 
			
		||||
    localVarQueryParams.addAll(apiClient.parameterToPairs("{{{collectionFormat}}}", "{{baseName}}", {{paramName}}));
 | 
			
		||||
    {{/queryParams}}
 | 
			
		||||
 | 
			
		||||
    {{#headerParams}}if ({{paramName}} != null)
 | 
			
		||||
@ -212,13 +212,13 @@ public class {{classname}} {
 | 
			
		||||
     {{#isDeprecated}}* @deprecated{{/isDeprecated}}
 | 
			
		||||
     */
 | 
			
		||||
    {{#isDeprecated}}@Deprecated{{/isDeprecated}}
 | 
			
		||||
    public {{#returnType}}{{{.}}}{{/returnType}}{{^returnType}}void{{/returnType}} execute() throws ApiException {
 | 
			
		||||
    public {{{returnType}}}{{^returnType}}void{{/returnType}} execute() throws ApiException {
 | 
			
		||||
      {{#returnType}}return {{/returnType}}this.executeWithHttpInfo().getData();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * Execute {{operationId}} request with HTTP info returned
 | 
			
		||||
     * @return ApiResponse<{{#returnType}}{{.}}{{/returnType}}{{^returnType}}Void{{/returnType}}>
 | 
			
		||||
     * @return ApiResponse<{{returnType}}{{^returnType}}Void{{/returnType}}>
 | 
			
		||||
     * @throws ApiException if fails to make API call
 | 
			
		||||
     {{#responses.0}}
 | 
			
		||||
     * @http.response.details
 | 
			
		||||
@ -235,7 +235,7 @@ public class {{classname}} {
 | 
			
		||||
    {{#isDeprecated}}
 | 
			
		||||
    @Deprecated
 | 
			
		||||
    {{/isDeprecated}}
 | 
			
		||||
    public ApiResponse<{{#returnType}}{{{.}}}{{/returnType}}{{^returnType}}Void{{/returnType}}> executeWithHttpInfo() throws ApiException {
 | 
			
		||||
    public ApiResponse<{{{returnType}}}{{^returnType}}Void{{/returnType}}> executeWithHttpInfo() throws ApiException {
 | 
			
		||||
      return {{operationId}}WithHttpInfo({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}});
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
@ -1,12 +1,12 @@
 | 
			
		||||
# {{classname}}{{#description}}
 | 
			
		||||
 | 
			
		||||
{{description}}{{/description}}
 | 
			
		||||
{{.}}{{/description}}
 | 
			
		||||
 | 
			
		||||
All URIs are relative to *{{basePath}}*
 | 
			
		||||
 | 
			
		||||
Method | HTTP request | Description
 | 
			
		||||
------------- | ------------- | -------------
 | 
			
		||||
{{#operations}}{{#operation}}[**{{operationId}}**]({{classname}}.md#{{operationId}}) | **{{httpMethod}}** {{path}} | {{#summary}}{{summary}}{{/summary}}
 | 
			
		||||
{{#operations}}{{#operation}}[**{{operationId}}**]({{classname}}.md#{{operationId}}) | **{{httpMethod}}** {{path}} | {{summary}}
 | 
			
		||||
{{/operation}}{{/operations}}
 | 
			
		||||
 | 
			
		||||
{{#operations}}
 | 
			
		||||
@ -15,10 +15,10 @@ Method | HTTP request | Description
 | 
			
		||||
## {{operationId}}
 | 
			
		||||
 | 
			
		||||
{{^vendorExtensions.x-group-parameters}}
 | 
			
		||||
> {{#returnType}}{{returnType}} {{/returnType}}{{operationId}}({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}})
 | 
			
		||||
> {{#returnType}}{{.}} {{/returnType}}{{operationId}}({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}})
 | 
			
		||||
{{/vendorExtensions.x-group-parameters}}
 | 
			
		||||
{{#vendorExtensions.x-group-parameters}}
 | 
			
		||||
> {{#returnType}}{{returnType}} {{/returnType}}{{operationId}}({{#pathParams}}{{paramName}}{{^-last}}, {{/-last}}{{/pathParams}}){{#allParams}}{{^isPathParam}}.{{paramName}}({{paramName}}){{/isPathParam}}{{/allParams}}.execute();
 | 
			
		||||
> {{#returnType}}{{.}} {{/returnType}}{{operationId}}({{#pathParams}}{{paramName}}{{^-last}}, {{/-last}}{{/pathParams}}){{#allParams}}{{^isPathParam}}.{{paramName}}({{paramName}}){{/isPathParam}}{{/allParams}}.execute();
 | 
			
		||||
{{/vendorExtensions.x-group-parameters}}
 | 
			
		||||
 | 
			
		||||
{{summary}}{{#notes}}
 | 
			
		||||
@ -69,10 +69,10 @@ public class Example {
 | 
			
		||||
        {{/allParams}}
 | 
			
		||||
        try {
 | 
			
		||||
            {{^vendorExtensions.x-group-parameters}}
 | 
			
		||||
            {{#returnType}}{{{returnType}}} result = {{/returnType}}apiInstance.{{{operationId}}}({{#allParams}}{{{paramName}}}{{^-last}}, {{/-last}}{{/allParams}});
 | 
			
		||||
            {{#returnType}}{{{.}}} result = {{/returnType}}apiInstance.{{{operationId}}}({{#allParams}}{{{paramName}}}{{^-last}}, {{/-last}}{{/allParams}});
 | 
			
		||||
            {{/vendorExtensions.x-group-parameters}}
 | 
			
		||||
            {{#vendorExtensions.x-group-parameters}}
 | 
			
		||||
            {{#returnType}}{{{returnType}}} result = {{/returnType}}api.{{operationId}}({{#pathParams}}{{paramName}}{{^-last}}, {{/-last}}{{/pathParams}}){{#allParams}}{{^isPathParam}}
 | 
			
		||||
            {{#returnType}}{{{.}}} result = {{/returnType}}api.{{operationId}}({{#pathParams}}{{paramName}}{{^-last}}, {{/-last}}{{/pathParams}}){{#allParams}}{{^isPathParam}}
 | 
			
		||||
                .{{paramName}}({{paramName}}){{/isPathParam}}{{/allParams}}
 | 
			
		||||
                .execute();
 | 
			
		||||
            {{/vendorExtensions.x-group-parameters}}
 | 
			
		||||
@ -95,7 +95,7 @@ public class Example {
 | 
			
		||||
{{^allParams}}This endpoint does not need any parameter.{{/allParams}}{{#allParams}}{{#-last}}
 | 
			
		||||
Name | Type | Description  | Notes
 | 
			
		||||
------------- | ------------- | ------------- | -------------{{/-last}}{{/allParams}}
 | 
			
		||||
{{#allParams}} **{{paramName}}** | {{#isContainer}}{{#isArray}}{{#items}}{{#isModel}}{{^isFile}}[{{/isFile}}{{/isModel}}**List<{{dataType}}>**{{#isModel}}{{^isFile}}]({{^baseType}}{{dataType}}{{/baseType}}{{#baseType}}{{baseType}}{{/baseType}}.md){{/isFile}}{{/isModel}}{{/items}}{{/isArray}}{{#isMap}}{{#items}}{{#isModel}}{{^isFile}}[{{/isFile}}{{/isModel}}**Map<String,{{dataType}}>**{{#isModel}}{{^isFile}}]({{^baseType}}{{dataType}}{{/baseType}}{{#baseType}}{{baseType}}{{/baseType}}.md){{/isFile}}{{/isModel}}{{/items}}{{/isMap}}{{/isContainer}}{{^isContainer}}{{#isModel}}{{^isFile}}[{{/isFile}}{{/isModel}}**{{dataType}}**{{#isModel}}{{^isFile}}]({{^baseType}}{{dataType}}{{/baseType}}{{#baseType}}{{baseType}}{{/baseType}}.md){{/isFile}}{{/isModel}}{{/isContainer}}| {{description}} |{{^required}} [optional]{{/required}}{{^isContainer}}{{#defaultValue}} [default to {{defaultValue}}]{{/defaultValue}}{{/isContainer}}{{#allowableValues}} [enum: {{#values}}{{{.}}}{{^-last}}, {{/-last}}{{/values}}]{{/allowableValues}}
 | 
			
		||||
{{#allParams}} **{{paramName}}** | {{#isContainer}}{{#isArray}}{{#items}}{{#isModel}}{{^isFile}}[{{/isFile}}{{/isModel}}**List<{{dataType}}>**{{#isModel}}{{^isFile}}]({{^baseType}}{{dataType}}{{/baseType}}{{baseType}}.md){{/isFile}}{{/isModel}}{{/items}}{{/isArray}}{{#isMap}}{{#items}}{{#isModel}}{{^isFile}}[{{/isFile}}{{/isModel}}**Map<String,{{dataType}}>**{{#isModel}}{{^isFile}}]({{^baseType}}{{dataType}}{{/baseType}}{{baseType}}.md){{/isFile}}{{/isModel}}{{/items}}{{/isMap}}{{/isContainer}}{{^isContainer}}{{#isModel}}{{^isFile}}[{{/isFile}}{{/isModel}}**{{dataType}}**{{#isModel}}{{^isFile}}]({{^baseType}}{{dataType}}{{/baseType}}{{baseType}}.md){{/isFile}}{{/isModel}}{{/isContainer}}| {{description}} |{{^required}} [optional]{{/required}}{{^isContainer}}{{#defaultValue}} [default to {{.}}]{{/defaultValue}}{{/isContainer}}{{#allowableValues}} [enum: {{#values}}{{{.}}}{{^-last}}, {{/-last}}{{/values}}]{{/allowableValues}}
 | 
			
		||||
{{/allParams}}
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
@ -41,10 +41,10 @@ public class {{classname}}Test {
 | 
			
		||||
        //{{{dataType}}} {{paramName}} = null;
 | 
			
		||||
        {{/allParams}}
 | 
			
		||||
        {{^vendorExtensions.x-group-parameters}}
 | 
			
		||||
        //{{#returnType}}{{{returnType}}} response = {{/returnType}}api.{{operationId}}({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}});
 | 
			
		||||
        //{{#returnType}}{{{.}}} response = {{/returnType}}api.{{operationId}}({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}});
 | 
			
		||||
        {{/vendorExtensions.x-group-parameters}}
 | 
			
		||||
        {{#vendorExtensions.x-group-parameters}}
 | 
			
		||||
        //{{#returnType}}{{{returnType}}} response = {{/returnType}}api.{{operationId}}({{#pathParams}}{{paramName}}{{^-last}}, {{/-last}}{{/pathParams}}){{#allParams}}{{^isPathParam}}
 | 
			
		||||
        //{{#returnType}}{{{.}}} response = {{/returnType}}api.{{operationId}}({{#pathParams}}{{paramName}}{{^-last}}, {{/-last}}{{/pathParams}}){{#allParams}}{{^isPathParam}}
 | 
			
		||||
        //        .{{paramName}}({{paramName}}){{/isPathParam}}{{/allParams}}
 | 
			
		||||
        //        .execute();
 | 
			
		||||
        {{/vendorExtensions.x-group-parameters}}
 | 
			
		||||
 | 
			
		||||
@ -1,9 +1,9 @@
 | 
			
		||||
/**
 | 
			
		||||
 * {{#description}}{{.}}{{/description}}{{^description}}{{classname}}{{/description}}{{#isDeprecated}}
 | 
			
		||||
 * {{description}}{{^description}}{{classname}}{{/description}}{{#isDeprecated}}
 | 
			
		||||
 * @deprecated{{/isDeprecated}}
 | 
			
		||||
 */{{#isDeprecated}}
 | 
			
		||||
@Deprecated{{/isDeprecated}}{{#description}}
 | 
			
		||||
@ApiModel(description = "{{{description}}}"){{/description}}
 | 
			
		||||
@ApiModel(description = "{{{.}}}"){{/description}}
 | 
			
		||||
{{#jackson}}
 | 
			
		||||
@JsonPropertyOrder({
 | 
			
		||||
{{#vars}}
 | 
			
		||||
@ -12,7 +12,7 @@
 | 
			
		||||
})
 | 
			
		||||
{{/jackson}}
 | 
			
		||||
{{>additionalModelTypeAnnotations}}{{>generatedAnnotation}}{{#discriminator}}{{>typeInfoAnnotation}}{{/discriminator}}{{>xmlAnnotation}}
 | 
			
		||||
public class {{classname}} {{#parent}}extends {{{parent}}} {{/parent}}{{#vendorExtensions.x-implements}}{{#-first}}implements {{{.}}}{{/-first}}{{^-first}}, {{{.}}}{{/-first}}{{#-last}} {{/-last}}{{/vendorExtensions.x-implements}}{
 | 
			
		||||
public class {{classname}} {{#parent}}extends {{{.}}} {{/parent}}{{#vendorExtensions.x-implements}}{{#-first}}implements {{{.}}}{{/-first}}{{^-first}}, {{{.}}}{{/-first}}{{#-last}} {{/-last}}{{/vendorExtensions.x-implements}}{
 | 
			
		||||
{{#serializableModel}}
 | 
			
		||||
  private static final long serialVersionUID = 1L;
 | 
			
		||||
 | 
			
		||||
@ -38,21 +38,21 @@ public class {{classname}} {{#parent}}extends {{{parent}}} {{/parent}}{{#vendorE
 | 
			
		||||
  {{/jackson}}
 | 
			
		||||
  {{#withXml}}
 | 
			
		||||
  {{#isXmlAttribute}}
 | 
			
		||||
  @XmlAttribute(name = "{{#xmlName}}{{xmlName}}{{/xmlName}}{{^xmlName}}{{baseName}}{{/xmlName}}")
 | 
			
		||||
  @XmlAttribute(name = "{{xmlName}}{{^xmlName}}{{baseName}}{{/xmlName}}")
 | 
			
		||||
  {{/isXmlAttribute}}
 | 
			
		||||
  {{^isXmlAttribute}}
 | 
			
		||||
    {{^isContainer}}
 | 
			
		||||
  @XmlElement({{#xmlNamespace}}namespace="{{xmlNamespace}}", {{/xmlNamespace}}name = "{{#xmlName}}{{xmlName}}{{/xmlName}}{{^xmlName}}{{baseName}}{{/xmlName}}")
 | 
			
		||||
  @XmlElement({{#xmlNamespace}}namespace="{{.}}", {{/xmlNamespace}}name = "{{xmlName}}{{^xmlName}}{{baseName}}{{/xmlName}}")
 | 
			
		||||
    {{/isContainer}}
 | 
			
		||||
    {{#isContainer}}
 | 
			
		||||
  // Is a container wrapped={{isXmlWrapped}}
 | 
			
		||||
      {{#items}}
 | 
			
		||||
  // items.name={{name}} items.baseName={{baseName}} items.xmlName={{xmlName}} items.xmlNamespace={{xmlNamespace}}
 | 
			
		||||
  // items.example={{example}} items.type={{dataType}}
 | 
			
		||||
  @XmlElement({{#xmlNamespace}}namespace="{{xmlNamespace}}", {{/xmlNamespace}}name = "{{#xmlName}}{{xmlName}}{{/xmlName}}{{^xmlName}}{{baseName}}{{/xmlName}}")
 | 
			
		||||
  @XmlElement({{#xmlNamespace}}namespace="{{.}}", {{/xmlNamespace}}name = "{{xmlName}}{{^xmlName}}{{baseName}}{{/xmlName}}")
 | 
			
		||||
      {{/items}}
 | 
			
		||||
      {{#isXmlWrapped}}
 | 
			
		||||
  @XmlElementWrapper({{#xmlNamespace}}namespace="{{xmlNamespace}}", {{/xmlNamespace}}name = "{{#xmlName}}{{xmlName}}{{/xmlName}}{{^xmlName}}{{baseName}}{{/xmlName}}")
 | 
			
		||||
  @XmlElementWrapper({{#xmlNamespace}}namespace="{{.}}", {{/xmlNamespace}}name = "{{xmlName}}{{^xmlName}}{{baseName}}{{/xmlName}}")
 | 
			
		||||
      {{/isXmlWrapped}}
 | 
			
		||||
    {{/isContainer}}
 | 
			
		||||
  {{/isXmlAttribute}}
 | 
			
		||||
@ -177,16 +177,16 @@ public class {{classname}} {{#parent}}extends {{{parent}}} {{/parent}}{{#vendorE
 | 
			
		||||
  {{/isReadOnly}}
 | 
			
		||||
   /**
 | 
			
		||||
  {{#description}}
 | 
			
		||||
   * {{description}}
 | 
			
		||||
   * {{.}}
 | 
			
		||||
  {{/description}}
 | 
			
		||||
  {{^description}}
 | 
			
		||||
   * Get {{name}}
 | 
			
		||||
  {{/description}}
 | 
			
		||||
  {{#minimum}}
 | 
			
		||||
   * minimum: {{minimum}}
 | 
			
		||||
   * minimum: {{.}}
 | 
			
		||||
  {{/minimum}}
 | 
			
		||||
  {{#maximum}}
 | 
			
		||||
   * maximum: {{maximum}}
 | 
			
		||||
   * maximum: {{.}}
 | 
			
		||||
  {{/maximum}}
 | 
			
		||||
   * @return {{name}}
 | 
			
		||||
  {{#deprecated}}
 | 
			
		||||
@ -207,7 +207,7 @@ public class {{classname}} {{#parent}}extends {{{parent}}} {{/parent}}{{#vendorE
 | 
			
		||||
{{^required}}
 | 
			
		||||
  @javax.annotation.Nullable
 | 
			
		||||
{{/required}}
 | 
			
		||||
{{#useBeanValidation}}{{>beanValidation}}{{/useBeanValidation}}  @ApiModelProperty({{#example}}example = "{{{example}}}", {{/example}}{{#required}}required = {{required}}, {{/required}}value = "{{{description}}}")
 | 
			
		||||
{{#useBeanValidation}}{{>beanValidation}}{{/useBeanValidation}}  @ApiModelProperty({{#example}}example = "{{{.}}}", {{/example}}{{#required}}required = {{required}}, {{/required}}value = "{{{description}}}")
 | 
			
		||||
{{#vendorExtensions.x-extra-annotation}}
 | 
			
		||||
  {{{vendorExtensions.x-extra-annotation}}}
 | 
			
		||||
{{/vendorExtensions.x-extra-annotation}}
 | 
			
		||||
 | 
			
		||||
@ -1,7 +1,7 @@
 | 
			
		||||
# {{appName}} - MicroProfile Rest Client
 | 
			
		||||
 | 
			
		||||
{{#appDescriptionWithNewLines}}
 | 
			
		||||
{{{appDescriptionWithNewLines}}}
 | 
			
		||||
{{{.}}}
 | 
			
		||||
 | 
			
		||||
{{/appDescriptionWithNewLines}}
 | 
			
		||||
## Overview
 | 
			
		||||
 | 
			
		||||
@ -23,7 +23,7 @@ import org.eclipse.microprofile.rest.client.inject.RegisterRestClient;
 | 
			
		||||
 * {{{appName}}}
 | 
			
		||||
 *
 | 
			
		||||
 {{#appDescription}}
 | 
			
		||||
 * <p>{{{appDescription}}}
 | 
			
		||||
 * <p>{{{.}}}
 | 
			
		||||
 *
 | 
			
		||||
 {{/appDescription}}
 | 
			
		||||
 */
 | 
			
		||||
@ -41,7 +41,7 @@ public interface {{classname}}  {
 | 
			
		||||
     * {{summary}}
 | 
			
		||||
     *
 | 
			
		||||
     {{#notes}}
 | 
			
		||||
     * {{notes}}
 | 
			
		||||
     * {{.}}
 | 
			
		||||
     *
 | 
			
		||||
     {{/notes}}
 | 
			
		||||
     {{#isDeprecated}}
 | 
			
		||||
@ -60,8 +60,7 @@ public interface {{classname}}  {
 | 
			
		||||
{{#hasProduces}}
 | 
			
		||||
    @Produces({ {{#produces}}"{{{mediaType}}}"{{^-last}}, {{/-last}}{{/produces}} })
 | 
			
		||||
{{/hasProduces}}
 | 
			
		||||
    public {{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}void{{/returnType}} {{nickname}}({{#allParams}}{{>queryParams}}{{>pathParams}}{{>headerParams}}{{>bodyParams}}{{>formParams}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException, ProcessingException;
 | 
			
		||||
    public {{{returnType}}}{{^returnType}}void{{/returnType}} {{nickname}}({{#allParams}}{{>queryParams}}{{>pathParams}}{{>headerParams}}{{>bodyParams}}{{>formParams}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException, ProcessingException;
 | 
			
		||||
{{/operation}}
 | 
			
		||||
}
 | 
			
		||||
{{/operations}}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -23,7 +23,7 @@ import java.util.Map;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 {{#appName}}
 | 
			
		||||
 * {{{appName}}} Test
 | 
			
		||||
 * {{{.}}} Test
 | 
			
		||||
 *
 | 
			
		||||
 {{/appName}}
 | 
			
		||||
 * API tests for {{classname}}
 | 
			
		||||
@ -53,7 +53,7 @@ public class {{classname}}Test {
 | 
			
		||||
     * {{summary}}
 | 
			
		||||
     *
 | 
			
		||||
     {{#notes}}
 | 
			
		||||
     * {{notes}}
 | 
			
		||||
     * {{.}}
 | 
			
		||||
     *
 | 
			
		||||
     {{/notes}}
 | 
			
		||||
     {{/summary}}
 | 
			
		||||
@ -66,7 +66,7 @@ public class {{classname}}Test {
 | 
			
		||||
        {{#allParams}}
 | 
			
		||||
        {{^isFile}}{{{dataType}}} {{paramName}} = null;{{/isFile}}{{#isFile}}org.apache.cxf.jaxrs.ext.multipart.Attachment {{paramName}} = null;{{/isFile}}
 | 
			
		||||
        {{/allParams}}
 | 
			
		||||
        //{{#returnType}}{{{returnType}}} response = {{/returnType}}api.{{operationId}}({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}});
 | 
			
		||||
        //{{#returnType}}{{{.}}} response = {{/returnType}}api.{{operationId}}({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}});
 | 
			
		||||
        //{{#returnType}}assertNotNull(response);{{/returnType}}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -1,20 +1,20 @@
 | 
			
		||||
{{#pattern}} @Pattern(regexp="{{{pattern}}}"){{/pattern}}{{!
 | 
			
		||||
{{#pattern}} @Pattern(regexp="{{{.}}}"){{/pattern}}{{!
 | 
			
		||||
minLength && maxLength set
 | 
			
		||||
}}{{#minLength}}{{#maxLength}} @Size(min={{minLength}},max={{maxLength}}){{/maxLength}}{{/minLength}}{{!
 | 
			
		||||
minLength set, maxLength not
 | 
			
		||||
}}{{#minLength}}{{^maxLength}} @Size(min={{minLength}}){{/maxLength}}{{/minLength}}{{!
 | 
			
		||||
minLength not set, maxLength set
 | 
			
		||||
}}{{^minLength}}{{#maxLength}} @Size(max={{maxLength}}){{/maxLength}}{{/minLength}}{{!
 | 
			
		||||
}}{{^minLength}}{{#maxLength}} @Size(max={{.}}){{/maxLength}}{{/minLength}}{{!
 | 
			
		||||
@Size: minItems && maxItems set
 | 
			
		||||
}}{{#minItems}}{{#maxItems}} @Size(min={{minItems}},max={{maxItems}}){{/maxItems}}{{/minItems}}{{!
 | 
			
		||||
@Size: minItems set, maxItems not
 | 
			
		||||
}}{{#minItems}}{{^maxItems}} @Size(min={{minItems}}){{/maxItems}}{{/minItems}}{{!
 | 
			
		||||
@Size: minItems not set && maxItems set
 | 
			
		||||
}}{{^minItems}}{{#maxItems}} @Size(max={{maxItems}}){{/maxItems}}{{/minItems}}{{!
 | 
			
		||||
}}{{^minItems}}{{#maxItems}} @Size(max={{.}}){{/maxItems}}{{/minItems}}{{!
 | 
			
		||||
check for integer or long / all others=decimal type with @Decimal*
 | 
			
		||||
isInteger set
 | 
			
		||||
}}{{#isInteger}}{{#minimum}} @Min({{minimum}}){{/minimum}}{{#maximum}} @Max({{maximum}}){{/maximum}}{{/isInteger}}{{!
 | 
			
		||||
}}{{#isInteger}}{{#minimum}} @Min({{.}}){{/minimum}}{{#maximum}} @Max({{.}}){{/maximum}}{{/isInteger}}{{!
 | 
			
		||||
isLong set
 | 
			
		||||
}}{{#isLong}}{{#minimum}} @Min({{minimum}}L){{/minimum}}{{#maximum}} @Max({{maximum}}L){{/maximum}}{{/isLong}}{{!
 | 
			
		||||
}}{{#isLong}}{{#minimum}} @Min({{.}}L){{/minimum}}{{#maximum}} @Max({{.}}L){{/maximum}}{{/isLong}}{{!
 | 
			
		||||
Not Integer, not Long => we have a decimal value!
 | 
			
		||||
}}{{^isInteger}}{{^isLong}}{{#minimum}} @DecimalMin("{{minimum}}"){{/minimum}}{{#maximum}} @DecimalMax("{{maximum}}"){{/maximum}}{{/isLong}}{{/isInteger}}
 | 
			
		||||
}}{{^isInteger}}{{^isLong}}{{#minimum}} @DecimalMin("{{.}}"){{/minimum}}{{#maximum}} @DecimalMax("{{.}}"){{/maximum}}{{/isLong}}{{/isInteger}}
 | 
			
		||||
@ -35,7 +35,7 @@
 | 
			
		||||
 | 
			
		||||
    {{#withXml}}
 | 
			
		||||
    public static {{datatypeWithEnum}} fromValue(String v) {
 | 
			
		||||
        for ({{#datatypeWithEnum}}{{{.}}}{{/datatypeWithEnum}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}} b : {{#datatypeWithEnum}}{{{.}}}{{/datatypeWithEnum}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}}.values()) {
 | 
			
		||||
        for ({{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}} b : {{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}}.values()) {
 | 
			
		||||
            if (String.valueOf(b.value).equals(v)) {
 | 
			
		||||
                return b;
 | 
			
		||||
            }
 | 
			
		||||
@ -47,7 +47,7 @@
 | 
			
		||||
    public static final class Deserializer implements JsonbDeserializer<{{datatypeWithEnum}}> {
 | 
			
		||||
        @Override
 | 
			
		||||
        public {{datatypeWithEnum}} deserialize(JsonParser parser, DeserializationContext ctx, Type rtType) {
 | 
			
		||||
            for ({{#datatypeWithEnum}}{{{.}}}{{/datatypeWithEnum}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}} b : {{#datatypeWithEnum}}{{{.}}}{{/datatypeWithEnum}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}}.values()) {
 | 
			
		||||
            for ({{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}} b : {{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}}.values()) {
 | 
			
		||||
                if (String.valueOf(b.value).equals(parser.getString())) {
 | 
			
		||||
                    return b;
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
@ -4,9 +4,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
 | 
			
		||||
{{/jackson}}
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * {{^description}}Gets or Sets {{{name}}}{{/description}}{{#description}}{{description}}{{/description}}
 | 
			
		||||
 * {{description}}{{^description}}Gets or Sets {{{name}}}{{/description}}
 | 
			
		||||
 */
 | 
			
		||||
{{>additionalEnumTypeAnnotations}}public enum {{#datatypeWithEnum}}{{{.}}}{{/datatypeWithEnum}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}} {
 | 
			
		||||
{{>additionalEnumTypeAnnotations}}public enum {{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}} {
 | 
			
		||||
  {{#gson}}
 | 
			
		||||
  {{#allowableValues}}{{#enumVars}}
 | 
			
		||||
  @SerializedName({{#isInteger}}"{{/isInteger}}{{#isDouble}}"{{/isDouble}}{{#isLong}}"{{/isLong}}{{#isFloat}}"{{/isFloat}}{{{value}}}{{#isInteger}}"{{/isInteger}}{{#isDouble}}"{{/isDouble}}{{#isLong}}"{{/isLong}}{{#isFloat}}"{{/isFloat}})
 | 
			
		||||
@ -21,7 +21,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
 | 
			
		||||
 | 
			
		||||
  private {{{dataType}}} value;
 | 
			
		||||
 | 
			
		||||
  {{#datatypeWithEnum}}{{{.}}}{{/datatypeWithEnum}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}}({{{dataType}}} value) {
 | 
			
		||||
  {{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}}({{{dataType}}} value) {
 | 
			
		||||
    this.value = value;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
@ -36,8 +36,8 @@ import com.fasterxml.jackson.annotation.JsonValue;
 | 
			
		||||
{{#jackson}}
 | 
			
		||||
  @JsonCreator
 | 
			
		||||
{{/jackson}}
 | 
			
		||||
  public static {{#datatypeWithEnum}}{{{.}}}{{/datatypeWithEnum}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}} fromValue(String text) {
 | 
			
		||||
    for ({{#datatypeWithEnum}}{{{.}}}{{/datatypeWithEnum}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}} b : {{#datatypeWithEnum}}{{{.}}}{{/datatypeWithEnum}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}}.values()) {
 | 
			
		||||
  public static {{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}} fromValue(String text) {
 | 
			
		||||
    for ({{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}} b : {{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}}.values()) {
 | 
			
		||||
      if (String.valueOf(b.value).equals(text)) {
 | 
			
		||||
        return b;
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
@ -2,8 +2,8 @@
 | 
			
		||||
 * {{{appName}}}
 | 
			
		||||
 * {{{appDescription}}}
 | 
			
		||||
 *
 | 
			
		||||
 * {{#version}}The version of the OpenAPI document: {{{version}}}{{/version}}
 | 
			
		||||
 * {{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}}
 | 
			
		||||
 * {{#version}}The version of the OpenAPI document: {{{.}}}{{/version}}
 | 
			
		||||
 * {{#infoEmail}}Contact: {{{.}}}{{/infoEmail}}
 | 
			
		||||
 *
 | 
			
		||||
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 | 
			
		||||
 * https://openapi-generator.tech
 | 
			
		||||
 | 
			
		||||
@ -30,11 +30,11 @@ import javax.json.bind.annotation.JsonbProperty;
 | 
			
		||||
{{/withXml}}
 | 
			
		||||
{{#description}}
 | 
			
		||||
/**
 | 
			
		||||
  * {{{description}}}
 | 
			
		||||
  * {{{.}}}
 | 
			
		||||
 **/
 | 
			
		||||
{{/description}}
 | 
			
		||||
{{>additionalModelTypeAnnotations}}
 | 
			
		||||
public class {{classname}} {{#parent}}extends {{{parent}}}{{/parent}}{{#serializableModel}} implements Serializable{{/serializableModel}} {
 | 
			
		||||
public class {{classname}} {{#parent}}extends {{{.}}}{{/parent}}{{#serializableModel}} implements Serializable{{/serializableModel}} {
 | 
			
		||||
  {{#vars}}{{#isEnum}}{{^isContainer}}
 | 
			
		||||
{{>enumClass}}{{/isContainer}}{{#isContainer}}{{#mostInnerItems}}
 | 
			
		||||
{{>enumClass}}{{/mostInnerItems}}{{/isContainer}}{{/isEnum}}
 | 
			
		||||
@ -43,7 +43,7 @@ public class {{classname}} {{#parent}}extends {{{parent}}}{{/parent}}{{#serializ
 | 
			
		||||
{{/withXml}}
 | 
			
		||||
{{#description}}
 | 
			
		||||
 /**
 | 
			
		||||
   * {{{description}}}
 | 
			
		||||
   * {{{.}}}
 | 
			
		||||
  **/
 | 
			
		||||
{{/description}}
 | 
			
		||||
  {{^withXml}}
 | 
			
		||||
@ -60,16 +60,16 @@ public class {{classname}} {{#parent}}extends {{{parent}}}{{/parent}}{{#serializ
 | 
			
		||||
  {{#vars}}
 | 
			
		||||
 /**
 | 
			
		||||
  {{#description}}
 | 
			
		||||
   * {{description}}
 | 
			
		||||
   * {{.}}
 | 
			
		||||
  {{/description}}
 | 
			
		||||
  {{^description}}
 | 
			
		||||
   * Get {{name}}
 | 
			
		||||
  {{/description}}
 | 
			
		||||
  {{#minimum}}
 | 
			
		||||
   * minimum: {{minimum}}
 | 
			
		||||
   * minimum: {{.}}
 | 
			
		||||
  {{/minimum}}
 | 
			
		||||
  {{#maximum}}
 | 
			
		||||
   * maximum: {{maximum}}
 | 
			
		||||
   * maximum: {{.}}
 | 
			
		||||
  {{/maximum}}
 | 
			
		||||
   * @return {{name}}
 | 
			
		||||
  {{#deprecated}}
 | 
			
		||||
 | 
			
		||||
@ -5,7 +5,7 @@
 | 
			
		||||
  <packaging>jar</packaging>
 | 
			
		||||
  <name>{{artifactId}}</name>
 | 
			
		||||
  {{#appDescription}}
 | 
			
		||||
  <description>{{appDescription}}</description>
 | 
			
		||||
  <description>{{.}}</description>
 | 
			
		||||
  {{/appDescription}}
 | 
			
		||||
  <version>{{artifactVersion}}</version>
 | 
			
		||||
  <build>
 | 
			
		||||
 | 
			
		||||
@ -1 +1 @@
 | 
			
		||||
{{#isQueryParam}}@QueryParam("{{baseName}}"){{#useBeanValidation}}{{>beanValidationQueryParams}}{{/useBeanValidation}} {{^isContainer}}{{#defaultValue}}@DefaultValue("{{{defaultValue}}}") {{/defaultValue}}{{/isContainer}}{{{dataType}}} {{paramName}}{{/isQueryParam}}
 | 
			
		||||
{{#isQueryParam}}@QueryParam("{{baseName}}"){{#useBeanValidation}}{{>beanValidationQueryParams}}{{/useBeanValidation}} {{^isContainer}}{{#defaultValue}}@DefaultValue("{{{.}}}") {{/defaultValue}}{{/isContainer}}{{{dataType}}} {{paramName}}{{/isQueryParam}}
 | 
			
		||||
@ -8,7 +8,7 @@
 | 
			
		||||
- Build date: {{generatedDate}}
 | 
			
		||||
{{/hideGenerationTimestamp}}
 | 
			
		||||
 | 
			
		||||
{{#appDescriptionWithNewLines}}{{{appDescriptionWithNewLines}}}{{/appDescriptionWithNewLines}}
 | 
			
		||||
{{{appDescriptionWithNewLines}}}
 | 
			
		||||
 | 
			
		||||
{{#infoUrl}}
 | 
			
		||||
  For more information, please visit [{{{infoUrl}}}]({{{infoUrl}}})
 | 
			
		||||
@ -130,8 +130,8 @@ All URIs are relative to *{{basePath}}*
 | 
			
		||||
 | 
			
		||||
Class | Method | HTTP request | Description
 | 
			
		||||
------------ | ------------- | ------------- | -------------
 | 
			
		||||
{{#apiInfo}}{{#apis}}{{#operations}}{{#operation}}*{{classname}}* | [**{{operationId}}**]({{apiDocPath}}{{classname}}.md#{{operationId}}) | **{{httpMethod}}** {{path}} | {{#summary}}{{summary}}{{/summary}}
 | 
			
		||||
*{{classname}}* | [**{{operationId}}WithHttpInfo**]({{apiDocPath}}{{classname}}.md#{{operationId}}WithHttpInfo) | **{{httpMethod}}** {{path}} | {{#summary}}{{summary}}{{/summary}}
 | 
			
		||||
{{#apiInfo}}{{#apis}}{{#operations}}{{#operation}}*{{classname}}* | [**{{operationId}}**]({{apiDocPath}}{{classname}}.md#{{operationId}}) | **{{httpMethod}}** {{path}} | {{summary}}
 | 
			
		||||
*{{classname}}* | [**{{operationId}}WithHttpInfo**]({{apiDocPath}}{{classname}}.md#{{operationId}}WithHttpInfo) | **{{httpMethod}}** {{path}} | {{summary}}
 | 
			
		||||
{{/operation}}{{/operations}}{{/apis}}{{/apiInfo}}
 | 
			
		||||
 | 
			
		||||
## Documentation for Models
 | 
			
		||||
 | 
			
		||||
@ -111,7 +111,7 @@ public class {{classname}} {
 | 
			
		||||
   * {{summary}}
 | 
			
		||||
   * {{notes}}
 | 
			
		||||
   * @param apiRequest {@link API{{operationId}}Request}
 | 
			
		||||
   * @return {{#asyncNative}}CompletableFuture<{{/asyncNative}}ApiResponse<{{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}Void{{/returnType}}>{{#asyncNative}}>{{/asyncNative}}
 | 
			
		||||
   * @return {{#asyncNative}}CompletableFuture<{{/asyncNative}}ApiResponse<{{returnType}}{{^returnType}}Void{{/returnType}}>{{#asyncNative}}>{{/asyncNative}}
 | 
			
		||||
   * @throws ApiException if fails to make API call
 | 
			
		||||
   {{#isDeprecated}}
 | 
			
		||||
   * @deprecated
 | 
			
		||||
@ -124,7 +124,7 @@ public class {{classname}} {
 | 
			
		||||
  {{#isDeprecated}}
 | 
			
		||||
  @Deprecated
 | 
			
		||||
  {{/isDeprecated}}
 | 
			
		||||
  public {{#asyncNative}}CompletableFuture<{{/asyncNative}}ApiResponse<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}>{{#asyncNative}}>{{/asyncNative}} {{operationId}}WithHttpInfo(API{{operationId}}Request apiRequest) throws ApiException {
 | 
			
		||||
  public {{#asyncNative}}CompletableFuture<{{/asyncNative}}ApiResponse<{{{returnType}}}{{^returnType}}Void{{/returnType}}>{{#asyncNative}}>{{/asyncNative}} {{operationId}}WithHttpInfo(API{{operationId}}Request apiRequest) throws ApiException {
 | 
			
		||||
    {{#allParams}}
 | 
			
		||||
    {{{dataType}}} {{paramName}} = apiRequest.{{paramName}}();
 | 
			
		||||
    {{/allParams}}
 | 
			
		||||
@ -156,7 +156,7 @@ public class {{classname}} {
 | 
			
		||||
  {{/isDeprecated}}
 | 
			
		||||
  public {{#returnType}}{{#asyncNative}}CompletableFuture<{{{returnType}}}>{{/asyncNative}}{{^asyncNative}}{{{returnType}}}{{/asyncNative}}{{/returnType}}{{^returnType}}{{#asyncNative}}CompletableFuture<Void>{{/asyncNative}}{{^asyncNative}}void{{/asyncNative}}{{/returnType}} {{operationId}}({{#allParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException {
 | 
			
		||||
    {{^asyncNative}}
 | 
			
		||||
    {{#returnType}}ApiResponse<{{{returnType}}}> localVarResponse = {{/returnType}}{{operationId}}WithHttpInfo({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}});
 | 
			
		||||
    {{#returnType}}ApiResponse<{{{.}}}> localVarResponse = {{/returnType}}{{operationId}}WithHttpInfo({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}});
 | 
			
		||||
    {{#returnType}}
 | 
			
		||||
    return localVarResponse.getData();
 | 
			
		||||
    {{/returnType}}
 | 
			
		||||
@ -196,7 +196,7 @@ public class {{classname}} {
 | 
			
		||||
   {{#allParams}}
 | 
			
		||||
   * @param {{paramName}} {{description}}{{#required}} (required){{/required}}{{^required}} (optional{{^isContainer}}{{#defaultValue}}, default to {{.}}{{/defaultValue}}){{/isContainer}}{{/required}}
 | 
			
		||||
   {{/allParams}}
 | 
			
		||||
   * @return {{#asyncNative}}CompletableFuture<{{/asyncNative}}ApiResponse<{{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}Void{{/returnType}}>{{#asyncNative}}>{{/asyncNative}}
 | 
			
		||||
   * @return {{#asyncNative}}CompletableFuture<{{/asyncNative}}ApiResponse<{{returnType}}{{^returnType}}Void{{/returnType}}>{{#asyncNative}}>{{/asyncNative}}
 | 
			
		||||
   * @throws ApiException if fails to make API call
 | 
			
		||||
   {{#isDeprecated}}
 | 
			
		||||
   * @deprecated
 | 
			
		||||
@ -209,7 +209,7 @@ public class {{classname}} {
 | 
			
		||||
  {{#isDeprecated}}
 | 
			
		||||
  @Deprecated
 | 
			
		||||
  {{/isDeprecated}}
 | 
			
		||||
  public {{#asyncNative}}CompletableFuture<{{/asyncNative}}ApiResponse<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}>{{#asyncNative}}>{{/asyncNative}} {{operationId}}WithHttpInfo({{#allParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException {
 | 
			
		||||
  public {{#asyncNative}}CompletableFuture<{{/asyncNative}}ApiResponse<{{{returnType}}}{{^returnType}}Void{{/returnType}}>{{#asyncNative}}>{{/asyncNative}} {{operationId}}WithHttpInfo({{#allParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException {
 | 
			
		||||
    {{^asyncNative}}
 | 
			
		||||
    HttpRequest.Builder localVarRequestBuilder = {{operationId}}RequestBuilder({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}});
 | 
			
		||||
    try {
 | 
			
		||||
@ -222,7 +222,7 @@ public class {{classname}} {
 | 
			
		||||
      if (localVarResponse.statusCode()/ 100 != 2) {
 | 
			
		||||
        throw getApiException("{{operationId}}", localVarResponse);
 | 
			
		||||
      }
 | 
			
		||||
      return new ApiResponse<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}>(
 | 
			
		||||
      return new ApiResponse<{{{returnType}}}{{^returnType}}Void{{/returnType}}>(
 | 
			
		||||
          localVarResponse.statusCode(),
 | 
			
		||||
          localVarResponse.headers().map(),
 | 
			
		||||
          {{#returnType}}memberVarObjectMapper.readValue(localVarResponse.body(), new TypeReference<{{{returnType}}}>() {}){{/returnType}}{{^returnType}}null{{/returnType}}
 | 
			
		||||
 | 
			
		||||
@ -1,13 +1,13 @@
 | 
			
		||||
# {{classname}}{{#description}}
 | 
			
		||||
 | 
			
		||||
{{description}}{{/description}}
 | 
			
		||||
{{.}}{{/description}}
 | 
			
		||||
 | 
			
		||||
All URIs are relative to *{{basePath}}*
 | 
			
		||||
 | 
			
		||||
Method | HTTP request | Description
 | 
			
		||||
------------- | ------------- | -------------
 | 
			
		||||
{{#operations}}{{#operation}}[**{{operationId}}**]({{classname}}.md#{{operationId}}) | **{{httpMethod}}** {{path}} | {{#summary}}{{summary}}{{/summary}}
 | 
			
		||||
[**{{operationId}}WithHttpInfo**]({{classname}}.md#{{operationId}}WithHttpInfo) | **{{httpMethod}}** {{path}} | {{#summary}}{{summary}}{{/summary}}
 | 
			
		||||
{{#operations}}{{#operation}}[**{{operationId}}**]({{classname}}.md#{{operationId}}) | **{{httpMethod}}** {{path}} | {{summary}}
 | 
			
		||||
[**{{operationId}}WithHttpInfo**]({{classname}}.md#{{operationId}}WithHttpInfo) | **{{httpMethod}}** {{path}} | {{summary}}
 | 
			
		||||
{{/operation}}{{/operations}}
 | 
			
		||||
 | 
			
		||||
{{#operations}}
 | 
			
		||||
@ -24,7 +24,7 @@ Method | HTTP request | Description
 | 
			
		||||
 | 
			
		||||
{{summary}}{{#notes}}
 | 
			
		||||
 | 
			
		||||
{{notes}}{{/notes}}
 | 
			
		||||
{{.}}{{/notes}}
 | 
			
		||||
 | 
			
		||||
### Example
 | 
			
		||||
 | 
			
		||||
@ -100,7 +100,7 @@ public class Example {
 | 
			
		||||
{{^allParams}}This endpoint does not need any parameter.{{/allParams}}{{^vendorExtensions.x-group-parameters}}{{#allParams}}{{#-last}}
 | 
			
		||||
Name | Type | Description  | Notes
 | 
			
		||||
------------- | ------------- | ------------- | -------------{{/-last}}{{/allParams}}
 | 
			
		||||
{{#allParams}} **{{paramName}}** | {{#isPrimitiveType}}**{{dataType}}**{{/isPrimitiveType}}{{^isPrimitiveType}}{{#isFile}}**{{dataType}}**{{/isFile}}{{^isFile}}[**{{dataType}}**]({{baseType}}.md){{/isFile}}{{/isPrimitiveType}}| {{description}} |{{^required}} [optional]{{/required}}{{^isContainer}}{{#defaultValue}} [default to {{defaultValue}}]{{/defaultValue}}{{/isContainer}}{{#allowableValues}} [enum: {{#values}}{{{.}}}{{^-last}}, {{/-last}}{{/values}}]{{/allowableValues}}
 | 
			
		||||
{{#allParams}} **{{paramName}}** | {{#isPrimitiveType}}**{{dataType}}**{{/isPrimitiveType}}{{^isPrimitiveType}}{{#isFile}}**{{dataType}}**{{/isFile}}{{^isFile}}[**{{dataType}}**]({{baseType}}.md){{/isFile}}{{/isPrimitiveType}}| {{description}} |{{^required}} [optional]{{/required}}{{^isContainer}}{{#defaultValue}} [default to {{.}}]{{/defaultValue}}{{/isContainer}}{{#allowableValues}} [enum: {{#values}}{{{.}}}{{^-last}}, {{/-last}}{{/values}}]{{/allowableValues}}
 | 
			
		||||
{{/allParams}}
 | 
			
		||||
{{/vendorExtensions.x-group-parameters}}
 | 
			
		||||
{{#vendorExtensions.x-group-parameters}}
 | 
			
		||||
@ -136,15 +136,15 @@ Name | Type | Description  | Notes
 | 
			
		||||
## {{operationId}}WithHttpInfo
 | 
			
		||||
 | 
			
		||||
{{^vendorExtensions.x-group-parameters}}
 | 
			
		||||
> {{#asyncNative}}CompletableFuture<{{/asyncNative}}ApiResponse<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}>{{#asyncNative}}>{{/asyncNative}} {{operationId}} {{operationId}}WithHttpInfo({{#allParams}}{{{paramName}}}{{^-last}}, {{/-last}}{{/allParams}})
 | 
			
		||||
> {{#asyncNative}}CompletableFuture<{{/asyncNative}}ApiResponse<{{{returnType}}}{{^returnType}}Void{{/returnType}}>{{#asyncNative}}>{{/asyncNative}} {{operationId}} {{operationId}}WithHttpInfo({{#allParams}}{{{paramName}}}{{^-last}}, {{/-last}}{{/allParams}})
 | 
			
		||||
{{/vendorExtensions.x-group-parameters}}
 | 
			
		||||
{{#vendorExtensions.x-group-parameters}}
 | 
			
		||||
> {{#asyncNative}}CompletableFuture<{{/asyncNative}}ApiResponse<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}>{{#asyncNative}}>{{/asyncNative}} {{operationId}} {{operationId}}WithHttpInfo({{#hasParams}}{{operationId}}Request{{/hasParams}})
 | 
			
		||||
> {{#asyncNative}}CompletableFuture<{{/asyncNative}}ApiResponse<{{{returnType}}}{{^returnType}}Void{{/returnType}}>{{#asyncNative}}>{{/asyncNative}} {{operationId}} {{operationId}}WithHttpInfo({{#hasParams}}{{operationId}}Request{{/hasParams}})
 | 
			
		||||
{{/vendorExtensions.x-group-parameters}}
 | 
			
		||||
 | 
			
		||||
{{summary}}{{#notes}}
 | 
			
		||||
 | 
			
		||||
{{notes}}{{/notes}}
 | 
			
		||||
{{.}}{{/notes}}
 | 
			
		||||
 | 
			
		||||
### Example
 | 
			
		||||
 | 
			
		||||
@ -192,7 +192,7 @@ public class Example {
 | 
			
		||||
        {{/allParams}}
 | 
			
		||||
        try {
 | 
			
		||||
            {{^vendorExtensions.x-group-parameters}}
 | 
			
		||||
            {{#asyncNative}}CompletableFuture<{{/asyncNative}}ApiResponse<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}>{{#asyncNative}}>{{/asyncNative}} response = apiInstance.{{{operationId}}}WithHttpInfo({{#allParams}}{{{paramName}}}{{^-last}}, {{/-last}}{{/allParams}});
 | 
			
		||||
            {{#asyncNative}}CompletableFuture<{{/asyncNative}}ApiResponse<{{{returnType}}}{{^returnType}}Void{{/returnType}}>{{#asyncNative}}>{{/asyncNative}} response = apiInstance.{{{operationId}}}WithHttpInfo({{#allParams}}{{{paramName}}}{{^-last}}, {{/-last}}{{/allParams}});
 | 
			
		||||
            {{/vendorExtensions.x-group-parameters}}
 | 
			
		||||
            {{#vendorExtensions.x-group-parameters}}
 | 
			
		||||
            {{#hasParams}}
 | 
			
		||||
@ -200,7 +200,7 @@ public class Example {
 | 
			
		||||
                .{{paramName}}({{paramName}}){{/allParams}}
 | 
			
		||||
                .build();
 | 
			
		||||
            {{/hasParams}}
 | 
			
		||||
            {{#asyncNative}}CompletableFuture<{{/asyncNative}}ApiResponse<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}>{{#asyncNative}}>{{/asyncNative}} response = apiInstance.{{{operationId}}}WithHttpInfo({{#hasParams}}request{{/hasParams}});
 | 
			
		||||
            {{#asyncNative}}CompletableFuture<{{/asyncNative}}ApiResponse<{{{returnType}}}{{^returnType}}Void{{/returnType}}>{{#asyncNative}}>{{/asyncNative}} response = apiInstance.{{{operationId}}}WithHttpInfo({{#hasParams}}request{{/hasParams}});
 | 
			
		||||
            {{/vendorExtensions.x-group-parameters}}
 | 
			
		||||
            System.out.println("Status code: " + response{{#asyncNative}}.get(){{/asyncNative}}.getStatusCode());
 | 
			
		||||
            System.out.println("Response headers: " + response{{#asyncNative}}.get(){{/asyncNative}}.getHeaders());
 | 
			
		||||
@ -232,7 +232,7 @@ public class Example {
 | 
			
		||||
{{^allParams}}This endpoint does not need any parameter.{{/allParams}}{{^vendorExtensions.x-group-parameters}}{{#allParams}}{{#-last}}
 | 
			
		||||
Name | Type | Description  | Notes
 | 
			
		||||
------------- | ------------- | ------------- | -------------{{/-last}}{{/allParams}}
 | 
			
		||||
{{#allParams}} **{{paramName}}** | {{#isPrimitiveType}}**{{dataType}}**{{/isPrimitiveType}}{{^isPrimitiveType}}{{#isFile}}**{{dataType}}**{{/isFile}}{{^isFile}}[**{{dataType}}**]({{baseType}}.md){{/isFile}}{{/isPrimitiveType}}| {{description}} |{{^required}} [optional]{{/required}}{{^isContainer}}{{#defaultValue}} [default to {{defaultValue}}]{{/defaultValue}}{{/isContainer}}{{#allowableValues}} [enum: {{#values}}{{{.}}}{{^-last}}, {{/-last}}{{/values}}]{{/allowableValues}}
 | 
			
		||||
{{#allParams}} **{{paramName}}** | {{#isPrimitiveType}}**{{dataType}}**{{/isPrimitiveType}}{{^isPrimitiveType}}{{#isFile}}**{{dataType}}**{{/isFile}}{{^isFile}}[**{{dataType}}**]({{baseType}}.md){{/isFile}}{{/isPrimitiveType}}| {{description}} |{{^required}} [optional]{{/required}}{{^isContainer}}{{#defaultValue}} [default to {{.}}]{{/defaultValue}}{{/isContainer}}{{#allowableValues}} [enum: {{#values}}{{{.}}}{{^-last}}, {{/-last}}{{/values}}]{{/allowableValues}}
 | 
			
		||||
{{/allParams}}
 | 
			
		||||
{{/vendorExtensions.x-group-parameters}}
 | 
			
		||||
{{#vendorExtensions.x-group-parameters}}
 | 
			
		||||
@ -272,7 +272,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
{{#allParams}}{{#-last}}
 | 
			
		||||
|     Name      |    Type       | Description   |     Notes    |
 | 
			
		||||
| ------------- | ------------- | ------------- | -------------|{{/-last}}{{/allParams}}
 | 
			
		||||
{{#allParams}} **{{paramName}}** | {{#isPrimitiveType}}**{{dataType}}**{{/isPrimitiveType}}{{^isPrimitiveType}}{{#isFile}}**{{dataType}}**{{/isFile}}{{^isFile}}[**{{dataType}}**]({{baseType}}.md){{/isFile}}{{/isPrimitiveType}} | {{description}} |{{^required}} [optional]{{/required}}{{^isContainer}}{{#defaultValue}} [default to {{defaultValue}}]{{/defaultValue}}{{/isContainer}}{{#allowableValues}} [enum: {{#values}}{{{.}}}{{^-last}}, {{/-last}}{{/values}}]{{/allowableValues}}
 | 
			
		||||
{{#allParams}} **{{paramName}}** | {{#isPrimitiveType}}**{{dataType}}**{{/isPrimitiveType}}{{^isPrimitiveType}}{{#isFile}}**{{dataType}}**{{/isFile}}{{^isFile}}[**{{dataType}}**]({{baseType}}.md){{/isFile}}{{/isPrimitiveType}} | {{description}} |{{^required}} [optional]{{/required}}{{^isContainer}}{{#defaultValue}} [default to {{.}}]{{/defaultValue}}{{/isContainer}}{{#allowableValues}} [enum: {{#values}}{{{.}}}{{^-last}}, {{/-last}}{{/values}}]{{/allowableValues}}
 | 
			
		||||
{{/allParams}}
 | 
			
		||||
 | 
			
		||||
{{/hasParams}}{{/vendorExtensions.x-group-parameters}}
 | 
			
		||||
 | 
			
		||||
@ -2,11 +2,11 @@
 | 
			
		||||
import {{invokerPackage}}.JSON;
 | 
			
		||||
{{/discriminator}}
 | 
			
		||||
/**
 | 
			
		||||
 * {{#description}}{{.}}{{/description}}{{^description}}{{classname}}{{/description}}{{#isDeprecated}}
 | 
			
		||||
 * {{description}}{{^description}}{{classname}}{{/description}}{{#isDeprecated}}
 | 
			
		||||
 * @deprecated{{/isDeprecated}}
 | 
			
		||||
 */{{#isDeprecated}}
 | 
			
		||||
@Deprecated{{/isDeprecated}}{{#description}}
 | 
			
		||||
@ApiModel(description = "{{{description}}}"){{/description}}
 | 
			
		||||
@ApiModel(description = "{{{.}}}"){{/description}}
 | 
			
		||||
{{#jackson}}
 | 
			
		||||
@JsonPropertyOrder({
 | 
			
		||||
{{#vars}}
 | 
			
		||||
@ -15,7 +15,7 @@ import {{invokerPackage}}.JSON;
 | 
			
		||||
})
 | 
			
		||||
{{/jackson}}
 | 
			
		||||
{{>additionalModelTypeAnnotations}}{{>generatedAnnotation}}{{#discriminator}}{{>typeInfoAnnotation}}{{/discriminator}}{{>xmlAnnotation}}
 | 
			
		||||
public class {{classname}} {{#parent}}extends {{{parent}}} {{/parent}}{{#vendorExtensions.x-implements}}{{#-first}}implements {{{.}}}{{/-first}}{{^-first}}, {{{.}}}{{/-first}}{{#-last}} {{/-last}}{{/vendorExtensions.x-implements}}{
 | 
			
		||||
public class {{classname}} {{#parent}}extends {{{.}}} {{/parent}}{{#vendorExtensions.x-implements}}{{#-first}}implements {{{.}}}{{/-first}}{{^-first}}, {{{.}}}{{/-first}}{{#-last}} {{/-last}}{{/vendorExtensions.x-implements}}{
 | 
			
		||||
{{#serializableModel}}
 | 
			
		||||
  private static final long serialVersionUID = 1L;
 | 
			
		||||
 | 
			
		||||
@ -41,21 +41,21 @@ public class {{classname}} {{#parent}}extends {{{parent}}} {{/parent}}{{#vendorE
 | 
			
		||||
  {{/jackson}}
 | 
			
		||||
  {{#withXml}}
 | 
			
		||||
  {{#isXmlAttribute}}
 | 
			
		||||
  @XmlAttribute(name = "{{#xmlName}}{{xmlName}}{{/xmlName}}{{^xmlName}}{{baseName}}{{/xmlName}}")
 | 
			
		||||
  @XmlAttribute(name = "{{xmlName}}{{^xmlName}}{{baseName}}{{/xmlName}}")
 | 
			
		||||
  {{/isXmlAttribute}}
 | 
			
		||||
  {{^isXmlAttribute}}
 | 
			
		||||
    {{^isContainer}}
 | 
			
		||||
  @XmlElement({{#xmlNamespace}}namespace="{{xmlNamespace}}", {{/xmlNamespace}}name = "{{#xmlName}}{{xmlName}}{{/xmlName}}{{^xmlName}}{{baseName}}{{/xmlName}}")
 | 
			
		||||
  @XmlElement({{#xmlNamespace}}namespace="{{.}}", {{/xmlNamespace}}name = "{{xmlName}}{{^xmlName}}{{baseName}}{{/xmlName}}")
 | 
			
		||||
    {{/isContainer}}
 | 
			
		||||
    {{#isContainer}}
 | 
			
		||||
  // Is a container wrapped={{isXmlWrapped}}
 | 
			
		||||
      {{#items}}
 | 
			
		||||
  // items.name={{name}} items.baseName={{baseName}} items.xmlName={{xmlName}} items.xmlNamespace={{xmlNamespace}}
 | 
			
		||||
  // items.example={{example}} items.type={{dataType}}
 | 
			
		||||
  @XmlElement({{#xmlNamespace}}namespace="{{xmlNamespace}}", {{/xmlNamespace}}name = "{{#xmlName}}{{xmlName}}{{/xmlName}}{{^xmlName}}{{baseName}}{{/xmlName}}")
 | 
			
		||||
  @XmlElement({{#xmlNamespace}}namespace="{{.}}", {{/xmlNamespace}}name = "{{xmlName}}{{^xmlName}}{{baseName}}{{/xmlName}}")
 | 
			
		||||
      {{/items}}
 | 
			
		||||
      {{#isXmlWrapped}}
 | 
			
		||||
  @XmlElementWrapper({{#xmlNamespace}}namespace="{{xmlNamespace}}", {{/xmlNamespace}}name = "{{#xmlName}}{{xmlName}}{{/xmlName}}{{^xmlName}}{{baseName}}{{/xmlName}}")
 | 
			
		||||
  @XmlElementWrapper({{#xmlNamespace}}namespace="{{.}}", {{/xmlNamespace}}name = "{{xmlName}}{{^xmlName}}{{baseName}}{{/xmlName}}")
 | 
			
		||||
      {{/isXmlWrapped}}
 | 
			
		||||
    {{/isContainer}}
 | 
			
		||||
  {{/isXmlAttribute}}
 | 
			
		||||
@ -180,16 +180,16 @@ public class {{classname}} {{#parent}}extends {{{parent}}} {{/parent}}{{#vendorE
 | 
			
		||||
  {{/isReadOnly}}
 | 
			
		||||
   /**
 | 
			
		||||
  {{#description}}
 | 
			
		||||
   * {{description}}
 | 
			
		||||
   * {{.}}
 | 
			
		||||
  {{/description}}
 | 
			
		||||
  {{^description}}
 | 
			
		||||
   * Get {{name}}
 | 
			
		||||
  {{/description}}
 | 
			
		||||
  {{#minimum}}
 | 
			
		||||
   * minimum: {{minimum}}
 | 
			
		||||
   * minimum: {{.}}
 | 
			
		||||
  {{/minimum}}
 | 
			
		||||
  {{#maximum}}
 | 
			
		||||
   * maximum: {{maximum}}
 | 
			
		||||
   * maximum: {{.}}
 | 
			
		||||
  {{/maximum}}
 | 
			
		||||
   * @return {{name}}
 | 
			
		||||
   {{#deprecated}}
 | 
			
		||||
@ -210,7 +210,7 @@ public class {{classname}} {{#parent}}extends {{{parent}}} {{/parent}}{{#vendorE
 | 
			
		||||
{{^required}}
 | 
			
		||||
  @javax.annotation.Nullable
 | 
			
		||||
{{/required}}
 | 
			
		||||
{{#useBeanValidation}}{{>beanValidation}}{{/useBeanValidation}}  @ApiModelProperty({{#example}}example = "{{{example}}}", {{/example}}{{#required}}required = {{required}}, {{/required}}value = "{{{description}}}")
 | 
			
		||||
{{#useBeanValidation}}{{>beanValidation}}{{/useBeanValidation}}  @ApiModelProperty({{#example}}example = "{{{.}}}", {{/example}}{{#required}}required = {{required}}, {{/required}}value = "{{{description}}}")
 | 
			
		||||
{{#vendorExtensions.x-extra-annotation}}
 | 
			
		||||
  {{{vendorExtensions.x-extra-annotation}}}
 | 
			
		||||
{{/vendorExtensions.x-extra-annotation}}
 | 
			
		||||
 | 
			
		||||
@ -220,7 +220,7 @@ public class ApiClient {
 | 
			
		||||
        json = new JSON();
 | 
			
		||||
 | 
			
		||||
        // Set default User-Agent.
 | 
			
		||||
        setUserAgent("{{#httpUserAgent}}{{{.}}}{{/httpUserAgent}}{{^httpUserAgent}}OpenAPI-Generator/{{{artifactVersion}}}/java{{/httpUserAgent}}");
 | 
			
		||||
        setUserAgent("{{{httpUserAgent}}}{{^httpUserAgent}}OpenAPI-Generator/{{{artifactVersion}}}/java{{/httpUserAgent}}");
 | 
			
		||||
 | 
			
		||||
        authentications = new HashMap<String, Authentication>();
 | 
			
		||||
        {{#dynamicOperations}}
 | 
			
		||||
 | 
			
		||||
@ -57,5 +57,3 @@ public class ProgressResponseBody extends ResponseBody {
 | 
			
		||||
        };
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -6,7 +6,7 @@
 | 
			
		||||
  - Build date: {{generatedDate}}
 | 
			
		||||
{{/hideGenerationTimestamp}}
 | 
			
		||||
 | 
			
		||||
{{#appDescriptionWithNewLines}}{{{appDescriptionWithNewLines}}}{{/appDescriptionWithNewLines}}
 | 
			
		||||
{{{appDescriptionWithNewLines}}}
 | 
			
		||||
 | 
			
		||||
{{#infoUrl}}
 | 
			
		||||
  For more information, please visit [{{{infoUrl}}}]({{{infoUrl}}})
 | 
			
		||||
@ -114,7 +114,7 @@ public class Example {
 | 
			
		||||
    {{{dataType}}} {{{paramName}}} = {{{example}}}; // {{{dataType}}} | {{{description}}}
 | 
			
		||||
    {{/allParams}}
 | 
			
		||||
    try {
 | 
			
		||||
      {{#returnType}}{{{returnType}}} result = {{/returnType}}apiInstance.{{{operationId}}}{{^vendorExtensions.x-group-parameters}}({{#allParams}}{{{paramName}}}{{^-last}}, {{/-last}}{{/allParams}});{{/vendorExtensions.x-group-parameters}}{{#vendorExtensions.x-group-parameters}}({{#requiredParams}}{{{paramName}}}{{^-last}}, {{/-last}}{{/requiredParams}}){{#optionalParams}}
 | 
			
		||||
      {{#returnType}}{{{.}}} result = {{/returnType}}apiInstance.{{{operationId}}}{{^vendorExtensions.x-group-parameters}}({{#allParams}}{{{paramName}}}{{^-last}}, {{/-last}}{{/allParams}});{{/vendorExtensions.x-group-parameters}}{{#vendorExtensions.x-group-parameters}}({{#requiredParams}}{{{paramName}}}{{^-last}}, {{/-last}}{{/requiredParams}}){{#optionalParams}}
 | 
			
		||||
            .{{{paramName}}}({{{paramName}}}){{/optionalParams}}
 | 
			
		||||
            .execute();{{/vendorExtensions.x-group-parameters}}{{#returnType}}
 | 
			
		||||
      System.out.println(result);{{/returnType}}
 | 
			
		||||
@ -136,7 +136,7 @@ All URIs are relative to *{{basePath}}*
 | 
			
		||||
 | 
			
		||||
Class | Method | HTTP request | Description
 | 
			
		||||
------------ | ------------- | ------------- | -------------
 | 
			
		||||
{{#apiInfo}}{{#apis}}{{#operations}}{{#operation}}*{{classname}}* | [**{{operationId}}**]({{apiDocPath}}{{classname}}.md#{{operationId}}) | **{{httpMethod}}** {{path}} | {{#summary}}{{summary}}{{/summary}}
 | 
			
		||||
{{#apiInfo}}{{#apis}}{{#operations}}{{#operation}}*{{classname}}* | [**{{operationId}}**]({{apiDocPath}}{{classname}}.md#{{operationId}}) | **{{httpMethod}}** {{path}} | {{summary}}
 | 
			
		||||
{{/operation}}{{/operations}}{{/apis}}{{/apiInfo}}
 | 
			
		||||
 | 
			
		||||
## Documentation for Models
 | 
			
		||||
 | 
			
		||||
@ -136,7 +136,7 @@ public class {{classname}} {
 | 
			
		||||
        {{^dynamicOperations}}
 | 
			
		||||
        {{#queryParams}}
 | 
			
		||||
        if ({{paramName}} != null) {
 | 
			
		||||
            {{#collectionFormat}}localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("{{{collectionFormat}}}", {{/collectionFormat}}{{^collectionFormat}}localVarQueryParams.addAll(localVarApiClient.parameterToPair({{/collectionFormat}}"{{baseName}}", {{paramName}}));
 | 
			
		||||
            {{#collectionFormat}}localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("{{{.}}}", {{/collectionFormat}}{{^collectionFormat}}localVarQueryParams.addAll(localVarApiClient.parameterToPair({{/collectionFormat}}"{{baseName}}", {{paramName}}));
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        {{/queryParams}}
 | 
			
		||||
@ -225,7 +225,7 @@ public class {{classname}} {
 | 
			
		||||
     * {{summary}}
 | 
			
		||||
     * {{notes}}{{#allParams}}
 | 
			
		||||
     * @param {{paramName}} {{description}}{{#required}} (required){{/required}}{{^required}} (optional{{^isContainer}}{{#defaultValue}}, default to {{.}}{{/defaultValue}}{{/isContainer}}){{/required}}{{/allParams}}{{#returnType}}
 | 
			
		||||
     * @return {{returnType}}{{/returnType}}
 | 
			
		||||
     * @return {{.}}{{/returnType}}
 | 
			
		||||
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
 | 
			
		||||
     {{#responses.0}}
 | 
			
		||||
     * @http.response.details
 | 
			
		||||
@ -247,8 +247,8 @@ public class {{classname}} {
 | 
			
		||||
    {{#isDeprecated}}
 | 
			
		||||
    @Deprecated
 | 
			
		||||
    {{/isDeprecated}}
 | 
			
		||||
    public {{#returnType}}{{{returnType}}} {{/returnType}}{{^returnType}}void {{/returnType}}{{operationId}}({{#allParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException {
 | 
			
		||||
        {{#returnType}}ApiResponse<{{{returnType}}}> localVarResp = {{/returnType}}{{operationId}}WithHttpInfo({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}});{{#returnType}}
 | 
			
		||||
    public {{#returnType}}{{{.}}} {{/returnType}}{{^returnType}}void {{/returnType}}{{operationId}}({{#allParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException {
 | 
			
		||||
        {{#returnType}}ApiResponse<{{{.}}}> localVarResp = {{/returnType}}{{operationId}}WithHttpInfo({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}});{{#returnType}}
 | 
			
		||||
        return localVarResp.getData();{{/returnType}}
 | 
			
		||||
    }
 | 
			
		||||
    {{/vendorExtensions.x-group-parameters}}
 | 
			
		||||
@ -257,7 +257,7 @@ public class {{classname}} {
 | 
			
		||||
     * {{summary}}
 | 
			
		||||
     * {{notes}}{{#allParams}}
 | 
			
		||||
     * @param {{paramName}} {{description}}{{#required}} (required){{/required}}{{^required}} (optional{{^isContainer}}{{#defaultValue}}, default to {{.}}{{/defaultValue}}{{/isContainer}}){{/required}}{{/allParams}}
 | 
			
		||||
     * @return ApiResponse<{{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}Void{{/returnType}}>
 | 
			
		||||
     * @return ApiResponse<{{returnType}}{{^returnType}}Void{{/returnType}}>
 | 
			
		||||
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
 | 
			
		||||
     {{#responses.0}}
 | 
			
		||||
     * @http.response.details
 | 
			
		||||
@ -279,7 +279,7 @@ public class {{classname}} {
 | 
			
		||||
    {{#isDeprecated}}
 | 
			
		||||
    @Deprecated
 | 
			
		||||
    {{/isDeprecated}}
 | 
			
		||||
    public{{/vendorExtensions.x-group-parameters}}{{#vendorExtensions.x-group-parameters}}private{{/vendorExtensions.x-group-parameters}} ApiResponse<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}> {{operationId}}WithHttpInfo({{#allParams}}{{#useBeanValidation}}{{>beanValidationQueryParams}}{{/useBeanValidation}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException {
 | 
			
		||||
    public{{/vendorExtensions.x-group-parameters}}{{#vendorExtensions.x-group-parameters}}private{{/vendorExtensions.x-group-parameters}} ApiResponse<{{{returnType}}}{{^returnType}}Void{{/returnType}}> {{operationId}}WithHttpInfo({{#allParams}}{{#useBeanValidation}}{{>beanValidationQueryParams}}{{/useBeanValidation}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException {
 | 
			
		||||
        okhttp3.Call localVarCall = {{operationId}}ValidateBeforeCall({{#allParams}}{{paramName}}, {{/allParams}}null);
 | 
			
		||||
        {{#returnType}}Type localVarReturnType = new TypeToken<{{{returnType}}}>(){}.getType();
 | 
			
		||||
        return localVarApiClient.execute(localVarCall, localVarReturnType);{{/returnType}}{{^returnType}}return localVarApiClient.execute(localVarCall);{{/returnType}}
 | 
			
		||||
@ -312,7 +312,7 @@ public class {{classname}} {
 | 
			
		||||
    {{#isDeprecated}}
 | 
			
		||||
    @Deprecated
 | 
			
		||||
    {{/isDeprecated}}
 | 
			
		||||
    public{{/vendorExtensions.x-group-parameters}}{{#vendorExtensions.x-group-parameters}}private{{/vendorExtensions.x-group-parameters}} okhttp3.Call {{operationId}}Async({{#allParams}}{{{dataType}}} {{paramName}}, {{/allParams}}final ApiCallback<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}> _callback) throws ApiException {
 | 
			
		||||
    public{{/vendorExtensions.x-group-parameters}}{{#vendorExtensions.x-group-parameters}}private{{/vendorExtensions.x-group-parameters}} okhttp3.Call {{operationId}}Async({{#allParams}}{{{dataType}}} {{paramName}}, {{/allParams}}final ApiCallback<{{{returnType}}}{{^returnType}}Void{{/returnType}}> _callback) throws ApiException {
 | 
			
		||||
 | 
			
		||||
        okhttp3.Call localVarCall = {{operationId}}ValidateBeforeCall({{#allParams}}{{paramName}}, {{/allParams}}_callback);
 | 
			
		||||
        {{#returnType}}Type localVarReturnType = new TypeToken<{{{returnType}}}>(){}.getType();
 | 
			
		||||
@ -374,7 +374,7 @@ public class {{classname}} {
 | 
			
		||||
 | 
			
		||||
        /**
 | 
			
		||||
         * Execute {{operationId}} request{{#returnType}}
 | 
			
		||||
         * @return {{returnType}}{{/returnType}}
 | 
			
		||||
         * @return {{.}}{{/returnType}}
 | 
			
		||||
         * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
 | 
			
		||||
         {{#responses.0}}
 | 
			
		||||
         * @http.response.details
 | 
			
		||||
@ -392,14 +392,14 @@ public class {{classname}} {
 | 
			
		||||
        {{#isDeprecated}}
 | 
			
		||||
        @Deprecated
 | 
			
		||||
        {{/isDeprecated}}
 | 
			
		||||
        public {{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}void{{/returnType}} execute() throws ApiException {
 | 
			
		||||
            {{#returnType}}ApiResponse<{{{returnType}}}> localVarResp = {{/returnType}}{{operationId}}WithHttpInfo({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}});{{#returnType}}
 | 
			
		||||
        public {{{returnType}}}{{^returnType}}void{{/returnType}} execute() throws ApiException {
 | 
			
		||||
            {{#returnType}}ApiResponse<{{{.}}}> localVarResp = {{/returnType}}{{operationId}}WithHttpInfo({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}});{{#returnType}}
 | 
			
		||||
            return localVarResp.getData();{{/returnType}}
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        /**
 | 
			
		||||
         * Execute {{operationId}} request with HTTP info returned
 | 
			
		||||
         * @return ApiResponse<{{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}Void{{/returnType}}>
 | 
			
		||||
         * @return ApiResponse<{{returnType}}{{^returnType}}Void{{/returnType}}>
 | 
			
		||||
         * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
 | 
			
		||||
         {{#responses.0}}
 | 
			
		||||
         * @http.response.details
 | 
			
		||||
@ -417,7 +417,7 @@ public class {{classname}} {
 | 
			
		||||
        {{#isDeprecated}}
 | 
			
		||||
        @Deprecated
 | 
			
		||||
        {{/isDeprecated}}
 | 
			
		||||
        public ApiResponse<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}> executeWithHttpInfo() throws ApiException {
 | 
			
		||||
        public ApiResponse<{{{returnType}}}{{^returnType}}Void{{/returnType}}> executeWithHttpInfo() throws ApiException {
 | 
			
		||||
            return {{operationId}}WithHttpInfo({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}});
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
@ -442,7 +442,7 @@ public class {{classname}} {
 | 
			
		||||
        {{#isDeprecated}}
 | 
			
		||||
        @Deprecated
 | 
			
		||||
        {{/isDeprecated}}
 | 
			
		||||
        public okhttp3.Call executeAsync(final ApiCallback<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}> _callback) throws ApiException {
 | 
			
		||||
        public okhttp3.Call executeAsync(final ApiCallback<{{{returnType}}}{{^returnType}}Void{{/returnType}}> _callback) throws ApiException {
 | 
			
		||||
            return {{operationId}}Async({{#allParams}}{{paramName}}, {{/allParams}}_callback);
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
@ -1,23 +1,23 @@
 | 
			
		||||
# {{classname}}{{#description}}
 | 
			
		||||
{{description}}{{/description}}
 | 
			
		||||
{{.}}{{/description}}
 | 
			
		||||
 | 
			
		||||
All URIs are relative to *{{basePath}}*
 | 
			
		||||
 | 
			
		||||
Method | HTTP request | Description
 | 
			
		||||
------------- | ------------- | -------------
 | 
			
		||||
{{#operations}}{{#operation}}[**{{operationId}}**]({{classname}}.md#{{operationId}}) | **{{httpMethod}}** {{path}} | {{#summary}}{{summary}}{{/summary}}
 | 
			
		||||
{{#operations}}{{#operation}}[**{{operationId}}**]({{classname}}.md#{{operationId}}) | **{{httpMethod}}** {{path}} | {{summary}}
 | 
			
		||||
{{/operation}}{{/operations}}
 | 
			
		||||
 | 
			
		||||
{{#operations}}
 | 
			
		||||
{{#operation}}
 | 
			
		||||
<a name="{{operationId}}"></a>
 | 
			
		||||
# **{{operationId}}**{{^vendorExtensions.x-group-parameters}}
 | 
			
		||||
> {{#returnType}}{{returnType}} {{/returnType}}{{operationId}}({{#allParams}}{{{paramName}}}{{^-last}}, {{/-last}}{{/allParams}}){{/vendorExtensions.x-group-parameters}}{{#vendorExtensions.x-group-parameters}}
 | 
			
		||||
> {{#returnType}}{{returnType}} {{/returnType}}{{operationId}}({{#requiredParams}}{{paramName}}{{^-last}}, {{/-last}}{{/requiredParams}}){{#optionalParams}}.{{paramName}}({{paramName}}){{/optionalParams}}.execute();{{/vendorExtensions.x-group-parameters}}
 | 
			
		||||
> {{#returnType}}{{.}} {{/returnType}}{{operationId}}({{#allParams}}{{{paramName}}}{{^-last}}, {{/-last}}{{/allParams}}){{/vendorExtensions.x-group-parameters}}{{#vendorExtensions.x-group-parameters}}
 | 
			
		||||
> {{#returnType}}{{.}} {{/returnType}}{{operationId}}({{#requiredParams}}{{paramName}}{{^-last}}, {{/-last}}{{/requiredParams}}){{#optionalParams}}.{{paramName}}({{paramName}}){{/optionalParams}}.execute();{{/vendorExtensions.x-group-parameters}}
 | 
			
		||||
 | 
			
		||||
{{summary}}{{#notes}}
 | 
			
		||||
 | 
			
		||||
{{notes}}{{/notes}}
 | 
			
		||||
{{.}}{{/notes}}
 | 
			
		||||
 | 
			
		||||
### Example
 | 
			
		||||
```java
 | 
			
		||||
@ -58,7 +58,7 @@ public class Example {
 | 
			
		||||
    {{{dataType}}} {{{paramName}}} = {{{example}}}; // {{{dataType}}} | {{{description}}}
 | 
			
		||||
    {{/allParams}}
 | 
			
		||||
    try {
 | 
			
		||||
      {{#returnType}}{{{returnType}}} result = {{/returnType}}apiInstance.{{{operationId}}}{{^vendorExtensions.x-group-parameters}}({{#allParams}}{{{paramName}}}{{^-last}}, {{/-last}}{{/allParams}});{{/vendorExtensions.x-group-parameters}}{{#vendorExtensions.x-group-parameters}}({{#requiredParams}}{{{paramName}}}{{^-last}}, {{/-last}}{{/requiredParams}}){{#optionalParams}}
 | 
			
		||||
      {{#returnType}}{{{.}}} result = {{/returnType}}apiInstance.{{{operationId}}}{{^vendorExtensions.x-group-parameters}}({{#allParams}}{{{paramName}}}{{^-last}}, {{/-last}}{{/allParams}});{{/vendorExtensions.x-group-parameters}}{{#vendorExtensions.x-group-parameters}}({{#requiredParams}}{{{paramName}}}{{^-last}}, {{/-last}}{{/requiredParams}}){{#optionalParams}}
 | 
			
		||||
            .{{{paramName}}}({{{paramName}}}){{/optionalParams}}
 | 
			
		||||
            .execute();{{/vendorExtensions.x-group-parameters}}{{#returnType}}
 | 
			
		||||
      System.out.println(result);{{/returnType}}
 | 
			
		||||
@ -77,7 +77,7 @@ public class Example {
 | 
			
		||||
{{^allParams}}This endpoint does not need any parameter.{{/allParams}}{{#allParams}}{{#-last}}
 | 
			
		||||
Name | Type | Description  | Notes
 | 
			
		||||
------------- | ------------- | ------------- | -------------{{/-last}}{{/allParams}}
 | 
			
		||||
{{#allParams}} **{{paramName}}** | {{#isPrimitiveType}}**{{dataType}}**{{/isPrimitiveType}}{{^isPrimitiveType}}{{#isFile}}**{{dataType}}**{{/isFile}}{{^isFile}}[**{{dataType}}**]({{baseType}}.md){{/isFile}}{{/isPrimitiveType}}| {{description}} |{{^required}} [optional]{{/required}}{{^isContainer}}{{#defaultValue}} [default to {{defaultValue}}]{{/defaultValue}}{{/isContainer}}{{#allowableValues}} [enum: {{#values}}{{{.}}}{{^-last}}, {{/-last}}{{/values}}]{{/allowableValues}}
 | 
			
		||||
{{#allParams}} **{{paramName}}** | {{#isPrimitiveType}}**{{dataType}}**{{/isPrimitiveType}}{{^isPrimitiveType}}{{#isFile}}**{{dataType}}**{{/isFile}}{{^isFile}}[**{{dataType}}**]({{baseType}}.md){{/isFile}}{{/isPrimitiveType}}| {{description}} |{{^required}} [optional]{{/required}}{{^isContainer}}{{#defaultValue}} [default to {{.}}]{{/defaultValue}}{{/isContainer}}{{#allowableValues}} [enum: {{#values}}{{{.}}}{{^-last}}, {{/-last}}{{/values}}]{{/allowableValues}}
 | 
			
		||||
{{/allParams}}
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
@ -37,7 +37,7 @@ public class {{classname}}Test {
 | 
			
		||||
        {{#allParams}}
 | 
			
		||||
        {{{dataType}}} {{paramName}} = null;
 | 
			
		||||
        {{/allParams}}
 | 
			
		||||
        {{#returnType}}{{{returnType}}} response = {{/returnType}}api.{{operationId}}{{^vendorExtensions.x-group-parameters}}({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}});{{/vendorExtensions.x-group-parameters}}{{#vendorExtensions.x-group-parameters}}({{#requiredParams}}{{paramName}}{{^-last}}, {{/-last}}{{/requiredParams}}){{#optionalParams}}
 | 
			
		||||
        {{#returnType}}{{{.}}} response = {{/returnType}}api.{{operationId}}{{^vendorExtensions.x-group-parameters}}({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}});{{/vendorExtensions.x-group-parameters}}{{#vendorExtensions.x-group-parameters}}({{#requiredParams}}{{paramName}}{{^-last}}, {{/-last}}{{/requiredParams}}){{#optionalParams}}
 | 
			
		||||
                .{{paramName}}({{paramName}}){{/optionalParams}}
 | 
			
		||||
                .execute();{{/vendorExtensions.x-group-parameters}}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -19,7 +19,7 @@ import static {{invokerPackage}}.{{#gson}}GsonObjectMapper.gson{{/gson}}{{#jacks
 | 
			
		||||
 | 
			
		||||
public class ApiClient {
 | 
			
		||||
    {{#basePath}}
 | 
			
		||||
    public static final String BASE_URI = "{{basePath}}";
 | 
			
		||||
    public static final String BASE_URI = "{{.}}";
 | 
			
		||||
    {{/basePath}}
 | 
			
		||||
 | 
			
		||||
    private final Config config;
 | 
			
		||||
 | 
			
		||||
@ -40,4 +40,3 @@ It's recommended to create an instance of `ApiClient` per thread in a multithrea
 | 
			
		||||
 | 
			
		||||
{{#apiInfo}}{{#apis}}{{#-last}}{{infoEmail}}
 | 
			
		||||
{{/-last}}{{/apis}}{{/apiInfo}}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -71,7 +71,7 @@ public class {{classname}} {
 | 
			
		||||
    @ApiOperation(value = "{{{summary}}}",
 | 
			
		||||
            notes = "{{{notes}}}",
 | 
			
		||||
            nickname = "{{{operationId}}}",
 | 
			
		||||
            tags = { {{#tags}}{{#name}}"{{{name}}}"{{/name}}{{^-last}}, {{/-last}}{{/tags}} })
 | 
			
		||||
            tags = { {{#tags}}{{#name}}"{{{.}}}"{{/name}}{{^-last}}, {{/-last}}{{/tags}} })
 | 
			
		||||
    @ApiResponses(value = { {{#responses}}
 | 
			
		||||
            @ApiResponse(code = {{{code}}}, message = "{{{message}}}") {{^-last}},{{/-last}}{{/responses}} })
 | 
			
		||||
    {{#isDeprecated}}
 | 
			
		||||
@ -103,7 +103,7 @@ public class {{classname}} {
 | 
			
		||||
     * @see #{{#isPathParam}}{{paramName}}Path{{/isPathParam}}{{#isQueryParam}}{{paramName}}Query{{/isQueryParam}}{{#isFormParam}}{{^isFile}}{{paramName}}Form{{/isFile}}{{#isFile}}{{paramName}}MultiPart{{/isFile}}{{/isFormParam}}{{#isHeaderParam}}{{paramName}}Header{{/isHeaderParam}}{{#isBodyParam}}body{{/isBodyParam}} {{description}}{{#required}} (required){{/required}}{{^required}} (optional{{#defaultValue}}, default to {{.}}{{/defaultValue}}){{/required}}
 | 
			
		||||
     {{/allParams}}
 | 
			
		||||
     {{#returnType}}
 | 
			
		||||
     * return {{returnType}}
 | 
			
		||||
     * return {{.}}
 | 
			
		||||
     {{/returnType}}
 | 
			
		||||
     {{#isDeprecated}}
 | 
			
		||||
     * @deprecated
 | 
			
		||||
 | 
			
		||||
@ -1,22 +1,22 @@
 | 
			
		||||
# {{classname}}{{#description}}
 | 
			
		||||
{{description}}{{/description}}
 | 
			
		||||
{{.}}{{/description}}
 | 
			
		||||
 | 
			
		||||
All URIs are relative to *{{basePath}}*
 | 
			
		||||
 | 
			
		||||
Method | HTTP request | Description
 | 
			
		||||
------------- | ------------- | -------------
 | 
			
		||||
{{#operations}}{{#operation}}[**{{operationId}}**]({{classname}}.md#{{operationId}}) | **{{httpMethod}}** {{path}} | {{#summary}}{{summary}}{{/summary}}
 | 
			
		||||
{{#operations}}{{#operation}}[**{{operationId}}**]({{classname}}.md#{{operationId}}) | **{{httpMethod}}** {{path}} | {{summary}}
 | 
			
		||||
{{/operation}}{{/operations}}
 | 
			
		||||
 | 
			
		||||
{{#operations}}
 | 
			
		||||
{{#operation}}
 | 
			
		||||
<a name="{{operationId}}"></a>
 | 
			
		||||
# **{{operationId}}**
 | 
			
		||||
> {{#returnType}}{{returnType}} {{/returnType}}{{operationId}}({{#allParams}}{{{paramName}}}{{^-last}}, {{/-last}}{{/allParams}})
 | 
			
		||||
> {{#returnType}}{{.}} {{/returnType}}{{operationId}}({{#allParams}}{{{paramName}}}{{^-last}}, {{/-last}}{{/allParams}})
 | 
			
		||||
 | 
			
		||||
{{summary}}{{#notes}}
 | 
			
		||||
 | 
			
		||||
{{notes}}{{/notes}}
 | 
			
		||||
{{.}}{{/notes}}
 | 
			
		||||
 | 
			
		||||
### Example
 | 
			
		||||
```java
 | 
			
		||||
@ -42,7 +42,7 @@ api.{{operationId}}(){{#allParams}}{{#required}}{{#isPathParam}}
 | 
			
		||||
{{^allParams}}This endpoint does not need any parameter.{{/allParams}}{{#allParams}}{{#-last}}
 | 
			
		||||
Name | Type | Description  | Notes
 | 
			
		||||
------------- | ------------- | ------------- | -------------{{/-last}}{{/allParams}}
 | 
			
		||||
{{#allParams}} **{{paramName}}** | {{#isPrimitiveType}}**{{dataType}}**{{/isPrimitiveType}}{{^isPrimitiveType}}{{#isFile}}**{{dataType}}**{{/isFile}}{{^isFile}}[**{{dataType}}**]({{baseType}}.md){{/isFile}}{{/isPrimitiveType}}| {{description}} |{{^required}} [optional]{{/required}}{{#defaultValue}} [default to {{defaultValue}}]{{/defaultValue}}{{#allowableValues}} [enum: {{#values}}{{{.}}}{{^-last}}, {{/-last}}{{/values}}]{{/allowableValues}}
 | 
			
		||||
{{#allParams}} **{{paramName}}** | {{#isPrimitiveType}}**{{dataType}}**{{/isPrimitiveType}}{{^isPrimitiveType}}{{#isFile}}**{{dataType}}**{{/isFile}}{{^isFile}}[**{{dataType}}**]({{baseType}}.md){{/isFile}}{{/isPrimitiveType}}| {{description}} |{{^required}} [optional]{{/required}}{{#defaultValue}} [default to {{.}}]{{/defaultValue}}{{#allowableValues}} [enum: {{#values}}{{{.}}}{{^-last}}, {{/-last}}{{/values}}]{{/allowableValues}}
 | 
			
		||||
{{/allParams}}
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
@ -86,7 +86,7 @@ public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} {
 | 
			
		||||
    this.json.setDateFormat((DateFormat) dateFormat.clone());
 | 
			
		||||
 | 
			
		||||
    // Set default User-Agent.
 | 
			
		||||
    setUserAgent("{{#httpUserAgent}}{{{.}}}{{/httpUserAgent}}{{^httpUserAgent}}OpenAPI-Generator/{{{artifactVersion}}}/java{{/httpUserAgent}}");
 | 
			
		||||
    setUserAgent("{{{httpUserAgent}}}{{^httpUserAgent}}OpenAPI-Generator/{{{artifactVersion}}}/java{{/httpUserAgent}}");
 | 
			
		||||
 | 
			
		||||
    // Setup authentications (key: authentication name, value: authentication).
 | 
			
		||||
    authentications = new HashMap<String, Authentication>();{{#authMethods}}{{#isBasic}}{{#isBasicBasic}}
 | 
			
		||||
 | 
			
		||||
@ -56,7 +56,7 @@ public class {{classname}} {
 | 
			
		||||
  {{#isDeprecated}}
 | 
			
		||||
  @Deprecated
 | 
			
		||||
  {{/isDeprecated}}
 | 
			
		||||
  public {{#returnType}}{{{returnType}}} {{/returnType}}{{^returnType}}void {{/returnType}}{{operationId}}({{#allParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException {
 | 
			
		||||
  public {{#returnType}}{{{.}}} {{/returnType}}{{^returnType}}void {{/returnType}}{{operationId}}({{#allParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException {
 | 
			
		||||
    Object localVarPostBody = {{#bodyParam}}{{paramName}}{{/bodyParam}}{{^bodyParam}}null{{/bodyParam}};
 | 
			
		||||
    {{#allParams}}{{#required}}
 | 
			
		||||
    // verify the required parameter '{{paramName}}' is set
 | 
			
		||||
@ -75,7 +75,7 @@ public class {{classname}} {
 | 
			
		||||
    {{javaUtilPrefix}}Map<String, Object> localVarFormParams = new {{javaUtilPrefix}}HashMap<String, Object>();
 | 
			
		||||
 | 
			
		||||
    {{#queryParams}}
 | 
			
		||||
    localVarQueryParams.addAll(apiClient.parameterToPairs("{{#collectionFormat}}{{{collectionFormat}}}{{/collectionFormat}}", "{{baseName}}", {{paramName}}));
 | 
			
		||||
    localVarQueryParams.addAll(apiClient.parameterToPairs("{{{collectionFormat}}}", "{{baseName}}", {{paramName}}));
 | 
			
		||||
    {{/queryParams}}
 | 
			
		||||
 | 
			
		||||
    {{#headerParams}}if ({{paramName}} != null)
 | 
			
		||||
 | 
			
		||||
@ -868,4 +868,3 @@ public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} {
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -54,13 +54,13 @@ public class {{classname}} {
 | 
			
		||||
     * {{summary}}
 | 
			
		||||
     * {{notes}}
 | 
			
		||||
    {{#responses}}
 | 
			
		||||
     * <p><b>{{code}}</b>{{#message}} - {{message}}{{/message}}
 | 
			
		||||
     * <p><b>{{code}}</b>{{#message}} - {{.}}{{/message}}
 | 
			
		||||
     {{/responses}}
 | 
			
		||||
     {{#allParams}}
 | 
			
		||||
     * @param {{paramName}} {{description}}{{#required}} (required){{/required}}{{^required}} (optional{{#defaultValue}}, default to {{.}}{{/defaultValue}}){{/required}}
 | 
			
		||||
     {{/allParams}}
 | 
			
		||||
     {{#returnType}}
 | 
			
		||||
     * @return {{returnType}}
 | 
			
		||||
     * @return {{.}}
 | 
			
		||||
     {{/returnType}}
 | 
			
		||||
     * @throws RestClientException if an error occurs while attempting to invoke the API
 | 
			
		||||
     {{#externalDocs}}
 | 
			
		||||
@ -74,7 +74,7 @@ public class {{classname}} {
 | 
			
		||||
    {{#isDeprecated}}
 | 
			
		||||
    @Deprecated
 | 
			
		||||
    {{/isDeprecated}}
 | 
			
		||||
    public {{#returnType}}{{{returnType}}} {{/returnType}}{{^returnType}}void {{/returnType}}{{operationId}}({{#allParams}}{{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection<org.springframework.core.io.Resource>{{/collectionFormat}}{{^collectionFormat}}org.springframework.core.io.Resource{{/collectionFormat}}{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{dataType}}}{{/useAbstractionForFiles}}{{/isFile}}{{^isFile}}{{{dataType}}}{{/isFile}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws RestClientException {
 | 
			
		||||
    public {{#returnType}}{{{.}}} {{/returnType}}{{^returnType}}void {{/returnType}}{{operationId}}({{#allParams}}{{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection<org.springframework.core.io.Resource>{{/collectionFormat}}{{^collectionFormat}}org.springframework.core.io.Resource{{/collectionFormat}}{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{dataType}}}{{/useAbstractionForFiles}}{{/isFile}}{{^isFile}}{{{dataType}}}{{/isFile}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws RestClientException {
 | 
			
		||||
        {{#returnType}}
 | 
			
		||||
        return {{operationId}}WithHttpInfo({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}}).getBody();
 | 
			
		||||
        {{/returnType}}
 | 
			
		||||
@ -87,12 +87,12 @@ public class {{classname}} {
 | 
			
		||||
     * {{summary}}
 | 
			
		||||
     * {{notes}}
 | 
			
		||||
     {{#responses}}
 | 
			
		||||
     * <p><b>{{code}}</b>{{#message}} - {{message}}{{/message}}
 | 
			
		||||
     * <p><b>{{code}}</b>{{#message}} - {{.}}{{/message}}
 | 
			
		||||
     {{/responses}}
 | 
			
		||||
     {{#allParams}}
 | 
			
		||||
     * @param {{paramName}} {{description}}{{#required}} (required){{/required}}{{^required}} (optional{{#defaultValue}}, default to {{.}}{{/defaultValue}}){{/required}}
 | 
			
		||||
     {{/allParams}}
 | 
			
		||||
     * @return ResponseEntity<{{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}Void{{/returnType}}>
 | 
			
		||||
     * @return ResponseEntity<{{returnType}}{{^returnType}}Void{{/returnType}}>
 | 
			
		||||
     * @throws RestClientException if an error occurs while attempting to invoke the API
 | 
			
		||||
     {{#externalDocs}}
 | 
			
		||||
     * {{description}}
 | 
			
		||||
@ -105,7 +105,7 @@ public class {{classname}} {
 | 
			
		||||
    {{#isDeprecated}}
 | 
			
		||||
    @Deprecated
 | 
			
		||||
    {{/isDeprecated}}
 | 
			
		||||
    public ResponseEntity<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}> {{operationId}}WithHttpInfo({{#allParams}}{{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection<org.springframework.core.io.Resource>{{/collectionFormat}}{{^collectionFormat}}org.springframework.core.io.Resource{{/collectionFormat}}{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{dataType}}}{{/useAbstractionForFiles}}{{/isFile}}{{^isFile}}{{{dataType}}}{{/isFile}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws RestClientException {
 | 
			
		||||
    public ResponseEntity<{{{returnType}}}{{^returnType}}Void{{/returnType}}> {{operationId}}WithHttpInfo({{#allParams}}{{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection<org.springframework.core.io.Resource>{{/collectionFormat}}{{^collectionFormat}}org.springframework.core.io.Resource{{/collectionFormat}}{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{dataType}}}{{/useAbstractionForFiles}}{{/isFile}}{{^isFile}}{{{dataType}}}{{/isFile}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws RestClientException {
 | 
			
		||||
        Object postBody = {{#bodyParam}}{{paramName}}{{/bodyParam}}{{^bodyParam}}null{{/bodyParam}};
 | 
			
		||||
        {{#allParams}}{{#required}}
 | 
			
		||||
        // verify the required parameter '{{paramName}}' is set
 | 
			
		||||
@ -122,7 +122,7 @@ public class {{classname}} {
 | 
			
		||||
        final MultiValueMap<String, String> cookieParams = new LinkedMultiValueMap<String, String>();
 | 
			
		||||
        final MultiValueMap<String, Object> formParams = new LinkedMultiValueMap<String, Object>();{{#hasQueryParams}}
 | 
			
		||||
 | 
			
		||||
        {{#queryParams}}queryParams.putAll(apiClient.parameterToMultiValueMap({{#collectionFormat}}ApiClient.CollectionFormat.valueOf("{{{collectionFormat}}}".toUpperCase(Locale.ROOT)){{/collectionFormat}}{{^collectionFormat}}null{{/collectionFormat}}, "{{baseName}}", {{paramName}}));{{^-last}}
 | 
			
		||||
        {{#queryParams}}queryParams.putAll(apiClient.parameterToMultiValueMap({{#collectionFormat}}ApiClient.CollectionFormat.valueOf("{{{.}}}".toUpperCase(Locale.ROOT)){{/collectionFormat}}{{^collectionFormat}}null{{/collectionFormat}}, "{{baseName}}", {{paramName}}));{{^-last}}
 | 
			
		||||
        {{/-last}}{{/queryParams}}{{/hasQueryParams}}{{#hasHeaderParams}}
 | 
			
		||||
 | 
			
		||||
        {{#headerParams}}if ({{paramName}} != null)
 | 
			
		||||
 | 
			
		||||
@ -36,7 +36,7 @@ public class {{classname}}Test {
 | 
			
		||||
        {{#allParams}}
 | 
			
		||||
        {{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection<org.springframework.core.io.Resource>{{/collectionFormat}}{{^collectionFormat}}org.springframework.core.io.Resource{{/collectionFormat}}{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{dataType}}}{{/useAbstractionForFiles}}{{/isFile}}{{^isFile}}{{{dataType}}}{{/isFile}} {{paramName}} = null;
 | 
			
		||||
        {{/allParams}}
 | 
			
		||||
        {{#returnType}}{{{returnType}}} response = {{/returnType}}api.{{operationId}}({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}});
 | 
			
		||||
        {{#returnType}}{{{.}}} response = {{/returnType}}api.{{operationId}}({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}});
 | 
			
		||||
 | 
			
		||||
        // TODO: test validations
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
@ -40,4 +40,3 @@ It's recommended to create an instance of `ApiClient` per thread in a multithrea
 | 
			
		||||
 | 
			
		||||
{{#apiInfo}}{{#apis}}{{#-last}}{{infoEmail}}
 | 
			
		||||
{{/-last}}{{/apis}}{{/apiInfo}}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -26,7 +26,7 @@ public interface {{classname}} {
 | 
			
		||||
{{#allParams}}
 | 
			
		||||
   * @param {{paramName}} {{description}}{{#required}} (required){{/required}}{{^required}} (optional{{#defaultValue}}, default to {{.}}{{/defaultValue}}){{/required}}
 | 
			
		||||
{{/allParams}}
 | 
			
		||||
   * @return {{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}Void{{/returnType}}
 | 
			
		||||
   * @return {{returnType}}{{^returnType}}Void{{/returnType}}
 | 
			
		||||
{{#externalDocs}}
 | 
			
		||||
   * {{description}}
 | 
			
		||||
   * @see <a href="{{url}}">{{summary}} Documentation</a>
 | 
			
		||||
@ -41,7 +41,7 @@ public interface {{classname}} {
 | 
			
		||||
  {{#formParams}}{{#-first}}
 | 
			
		||||
  {{#isMultipart}}@retrofit.http.Multipart{{/isMultipart}}{{^isMultipart}}@retrofit.http.FormUrlEncoded{{/isMultipart}}{{/-first}}{{/formParams}}
 | 
			
		||||
  @{{httpMethod}}("{{{path}}}")
 | 
			
		||||
  {{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}} {{operationId}}({{^allParams}});{{/allParams}}
 | 
			
		||||
  {{{returnType}}}{{^returnType}}Void{{/returnType}} {{operationId}}({{^allParams}});{{/allParams}}
 | 
			
		||||
    {{#allParams}}{{>libraries/retrofit/queryParams}}{{>libraries/retrofit/pathParams}}{{>libraries/retrofit/headerParams}}{{>libraries/retrofit/bodyParams}}{{>libraries/retrofit/formParams}}{{^-last}}, {{/-last}}{{#-last}}
 | 
			
		||||
  );{{/-last}}{{/allParams}}
 | 
			
		||||
 | 
			
		||||
@ -67,7 +67,7 @@ public interface {{classname}} {
 | 
			
		||||
  {{#isMultipart}}@retrofit.http.Multipart{{/isMultipart}}{{^isMultipart}}@retrofit.http.FormUrlEncoded{{/isMultipart}}{{/-first}}{{/formParams}}
 | 
			
		||||
  @{{httpMethod}}("{{{path}}}")
 | 
			
		||||
  void {{operationId}}(
 | 
			
		||||
    {{#allParams}}{{>libraries/retrofit/queryParams}}{{>libraries/retrofit/pathParams}}{{>libraries/retrofit/headerParams}}{{>libraries/retrofit/bodyParams}}{{>libraries/retrofit/formParams}}, {{/allParams}}Callback<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}> cb
 | 
			
		||||
    {{#allParams}}{{>libraries/retrofit/queryParams}}{{>libraries/retrofit/pathParams}}{{>libraries/retrofit/headerParams}}{{>libraries/retrofit/bodyParams}}{{>libraries/retrofit/formParams}}, {{/allParams}}Callback<{{{returnType}}}{{^returnType}}Void{{/returnType}}> cb
 | 
			
		||||
  );
 | 
			
		||||
  {{/operation}}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -36,7 +36,7 @@ public class {{classname}}Test {
 | 
			
		||||
        {{#allParams}}
 | 
			
		||||
        {{{dataType}}} {{paramName}} = null;
 | 
			
		||||
        {{/allParams}}
 | 
			
		||||
        // {{#returnType}}{{{returnType}}} response = {{/returnType}}api.{{operationId}}({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}});
 | 
			
		||||
        // {{#returnType}}{{{.}}} response = {{/returnType}}api.{{operationId}}({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}});
 | 
			
		||||
 | 
			
		||||
        // TODO: test validations
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
@ -36,4 +36,3 @@ After the client library is installed/deployed, you can use it in your Maven pro
 | 
			
		||||
 | 
			
		||||
{{#apiInfo}}{{#apis}}{{#-last}}{{infoEmail}}
 | 
			
		||||
{{/-last}}{{/apis}}{{/apiInfo}}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -47,7 +47,7 @@ public interface {{classname}} {
 | 
			
		||||
{{#allParams}}
 | 
			
		||||
   * @param {{paramName}} {{description}}{{#required}} (required){{/required}}{{^required}} (optional{{#defaultValue}}, default to {{.}}{{/defaultValue}}){{/required}}
 | 
			
		||||
{{/allParams}}
 | 
			
		||||
   * @return {{^doNotUseRx}}{{#useRxJava}}Observable<{{#isResponseFile}}ResponseBody{{/isResponseFile}}{{^isResponseFile}}{{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}Void{{/returnType}}{{/isResponseFile}}>{{/useRxJava}}{{#useRxJava2}}{{#returnType}}Observable<{{#isResponseFile}}ResponseBody{{/isResponseFile}}{{^isResponseFile}}{{returnType}}{{/isResponseFile}}>{{/returnType}}{{^returnType}}Completable{{/returnType}}{{/useRxJava2}}{{#useRxJava3}}{{#returnType}}Observable<{{#isResponseFile}}ResponseBody{{/isResponseFile}}{{^isResponseFile}}{{returnType}}{{/isResponseFile}}>{{/returnType}}{{^returnType}}Completable{{/returnType}}{{/useRxJava3}}{{/doNotUseRx}}{{#doNotUseRx}}Call<{{#isResponseFile}}ResponseBody{{/isResponseFile}}{{^isResponseFile}}{{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}Void{{/returnType}}{{/isResponseFile}}>{{/doNotUseRx}}
 | 
			
		||||
   * @return {{^doNotUseRx}}{{#useRxJava}}Observable<{{#isResponseFile}}ResponseBody{{/isResponseFile}}{{^isResponseFile}}{{returnType}}{{^returnType}}Void{{/returnType}}{{/isResponseFile}}>{{/useRxJava}}{{#useRxJava2}}{{#returnType}}Observable<{{#isResponseFile}}ResponseBody{{/isResponseFile}}{{^isResponseFile}}{{returnType}}{{/isResponseFile}}>{{/returnType}}{{^returnType}}Completable{{/returnType}}{{/useRxJava2}}{{#useRxJava3}}{{#returnType}}Observable<{{#isResponseFile}}ResponseBody{{/isResponseFile}}{{^isResponseFile}}{{returnType}}{{/isResponseFile}}>{{/returnType}}{{^returnType}}Completable{{/returnType}}{{/useRxJava3}}{{/doNotUseRx}}{{#doNotUseRx}}Call<{{#isResponseFile}}ResponseBody{{/isResponseFile}}{{^isResponseFile}}{{returnType}}{{^returnType}}Void{{/returnType}}{{/isResponseFile}}>{{/doNotUseRx}}
 | 
			
		||||
{{#isDeprecated}}
 | 
			
		||||
   * @deprecated
 | 
			
		||||
{{/isDeprecated}}
 | 
			
		||||
@ -74,7 +74,7 @@ public interface {{classname}} {
 | 
			
		||||
  {{/prioritizedContentTypes}}
 | 
			
		||||
  {{/formParams}}
 | 
			
		||||
  @{{httpMethod}}("{{{path}}}")
 | 
			
		||||
  {{^doNotUseRx}}{{#useRxJava}}Observable<{{#isResponseFile}}ResponseBody{{/isResponseFile}}{{^isResponseFile}}{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}{{/isResponseFile}}>{{/useRxJava}}{{#useRxJava2}}{{#returnType}}Observable<{{#isResponseFile}}ResponseBody{{/isResponseFile}}{{^isResponseFile}}{{{returnType}}}{{/isResponseFile}}>{{/returnType}}{{^returnType}}Completable{{/returnType}}{{/useRxJava2}}{{#useRxJava3}}{{#returnType}}Observable<{{#isResponseFile}}ResponseBody{{/isResponseFile}}{{^isResponseFile}}{{{returnType}}}{{/isResponseFile}}>{{/returnType}}{{^returnType}}Completable{{/returnType}}{{/useRxJava3}}{{/doNotUseRx}}{{#doNotUseRx}}Call<{{#isResponseFile}}ResponseBody{{/isResponseFile}}{{^isResponseFile}}{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}{{/isResponseFile}}>{{/doNotUseRx}} {{operationId}}({{^allParams}});{{/allParams}}
 | 
			
		||||
  {{^doNotUseRx}}{{#useRxJava}}Observable<{{#isResponseFile}}ResponseBody{{/isResponseFile}}{{^isResponseFile}}{{{returnType}}}{{^returnType}}Void{{/returnType}}{{/isResponseFile}}>{{/useRxJava}}{{#useRxJava2}}{{#returnType}}Observable<{{#isResponseFile}}ResponseBody{{/isResponseFile}}{{^isResponseFile}}{{{returnType}}}{{/isResponseFile}}>{{/returnType}}{{^returnType}}Completable{{/returnType}}{{/useRxJava2}}{{#useRxJava3}}{{#returnType}}Observable<{{#isResponseFile}}ResponseBody{{/isResponseFile}}{{^isResponseFile}}{{{returnType}}}{{/isResponseFile}}>{{/returnType}}{{^returnType}}Completable{{/returnType}}{{/useRxJava3}}{{/doNotUseRx}}{{#doNotUseRx}}Call<{{#isResponseFile}}ResponseBody{{/isResponseFile}}{{^isResponseFile}}{{{returnType}}}{{^returnType}}Void{{/returnType}}{{/isResponseFile}}>{{/doNotUseRx}} {{operationId}}({{^allParams}});{{/allParams}}
 | 
			
		||||
    {{#allParams}}{{>libraries/retrofit2/queryParams}}{{>libraries/retrofit2/pathParams}}{{>libraries/retrofit2/headerParams}}{{>libraries/retrofit2/bodyParams}}{{>libraries/retrofit2/formParams}}{{^-last}}, {{/-last}}{{#-last}}
 | 
			
		||||
  );{{/-last}}{{/allParams}}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -37,7 +37,7 @@ public class {{classname}}Test {
 | 
			
		||||
        {{#allParams}}
 | 
			
		||||
        {{{dataType}}} {{paramName}} = null;
 | 
			
		||||
        {{/allParams}}
 | 
			
		||||
        // {{#returnType}}{{{returnType}}} response = {{/returnType}}api.{{operationId}}({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}});
 | 
			
		||||
        // {{#returnType}}{{{.}}} response = {{/returnType}}api.{{operationId}}({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}});
 | 
			
		||||
 | 
			
		||||
        // TODO: test validations
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
@ -33,7 +33,7 @@ public interface {{classname}} {
 | 
			
		||||
{{#allParams}}
 | 
			
		||||
   * @param {{paramName}} {{description}}{{#required}} (required){{/required}}{{^required}} (optional{{#defaultValue}}, default to {{.}}{{/defaultValue}}){{/required}}
 | 
			
		||||
{{/allParams}}
 | 
			
		||||
   * @return Call<{{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}Void{{/returnType}}>
 | 
			
		||||
   * @return Call<{{returnType}}{{^returnType}}Void{{/returnType}}>
 | 
			
		||||
{{#isDeprecated}}
 | 
			
		||||
   * @deprecated
 | 
			
		||||
{{/isDeprecated}}
 | 
			
		||||
@ -56,7 +56,7 @@ public interface {{classname}} {
 | 
			
		||||
  {{/prioritizedContentTypes}}
 | 
			
		||||
  {{/formParams}}
 | 
			
		||||
  @{{httpMethod}}("{{{path}}}")
 | 
			
		||||
  F.Promise<Response<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}>> {{operationId}}({{^allParams}});{{/allParams}}
 | 
			
		||||
  F.Promise<Response<{{{returnType}}}{{^returnType}}Void{{/returnType}}>> {{operationId}}({{^allParams}});{{/allParams}}
 | 
			
		||||
    {{#allParams}}{{>libraries/retrofit2/queryParams}}{{>libraries/retrofit2/pathParams}}{{>libraries/retrofit2/headerParams}}{{>libraries/retrofit2/bodyParams}}{{>libraries/retrofit2/formParams}}{{^-last}}, {{/-last}}{{#-last}}
 | 
			
		||||
  );{{/-last}}{{/allParams}}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -114,4 +114,3 @@ public class Play25CallAdapterFactory extends CallAdapter.Factory {
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -33,7 +33,7 @@ public interface {{classname}} {
 | 
			
		||||
{{#allParams}}
 | 
			
		||||
   * @param {{paramName}} {{description}}{{#required}} (required){{/required}}{{^required}} (optional{{#defaultValue}}, default to {{.}}{{/defaultValue}}){{/required}}
 | 
			
		||||
{{/allParams}}
 | 
			
		||||
   * @return Call<{{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}Void{{/returnType}}>
 | 
			
		||||
   * @return Call<{{returnType}}{{^returnType}}Void{{/returnType}}>
 | 
			
		||||
{{#isDeprecated}}
 | 
			
		||||
   * @deprecated
 | 
			
		||||
{{/isDeprecated}}
 | 
			
		||||
@ -56,7 +56,7 @@ public interface {{classname}} {
 | 
			
		||||
  {{/prioritizedContentTypes}}
 | 
			
		||||
  {{/formParams}}
 | 
			
		||||
  @{{httpMethod}}("{{{path}}}")
 | 
			
		||||
  CompletionStage<Response<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}>> {{operationId}}({{^allParams}});{{/allParams}}
 | 
			
		||||
  CompletionStage<Response<{{{returnType}}}{{^returnType}}Void{{/returnType}}>> {{operationId}}({{^allParams}});{{/allParams}}
 | 
			
		||||
    {{#allParams}}{{>libraries/retrofit2/queryParams}}{{>libraries/retrofit2/pathParams}}{{>libraries/retrofit2/headerParams}}{{>libraries/retrofit2/bodyParams}}{{>libraries/retrofit2/formParams}}{{^-last}}, {{/-last}}{{#-last}}
 | 
			
		||||
  );{{/-last}}{{/allParams}}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -33,7 +33,7 @@ public interface {{classname}} {
 | 
			
		||||
{{#allParams}}
 | 
			
		||||
   * @param {{paramName}} {{description}}{{#required}} (required){{/required}}{{^required}} (optional{{#defaultValue}}, default to {{.}}{{/defaultValue}}){{/required}}
 | 
			
		||||
{{/allParams}}
 | 
			
		||||
   * @return Call<{{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}Void{{/returnType}}>
 | 
			
		||||
   * @return Call<{{returnType}}{{^returnType}}Void{{/returnType}}>
 | 
			
		||||
{{#isDeprecated}}
 | 
			
		||||
   * @deprecated
 | 
			
		||||
{{/isDeprecated}}
 | 
			
		||||
@ -56,7 +56,7 @@ public interface {{classname}} {
 | 
			
		||||
  {{/prioritizedContentTypes}}
 | 
			
		||||
  {{/formParams}}
 | 
			
		||||
  @{{httpMethod}}("{{{path}}}")
 | 
			
		||||
  CompletionStage<Response<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}>> {{operationId}}({{^allParams}});{{/allParams}}
 | 
			
		||||
  CompletionStage<Response<{{{returnType}}}{{^returnType}}Void{{/returnType}}>> {{operationId}}({{^allParams}});{{/allParams}}
 | 
			
		||||
    {{#allParams}}{{>libraries/retrofit2/queryParams}}{{>libraries/retrofit2/pathParams}}{{>libraries/retrofit2/headerParams}}{{>libraries/retrofit2/bodyParams}}{{>libraries/retrofit2/formParams}}{{^-last}}, {{/-last}}{{#-last}}
 | 
			
		||||
  );{{/-last}}{{/allParams}}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -656,7 +656,7 @@ public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} {
 | 
			
		||||
    protected WebClient buildWebClient(Vertx vertx, JsonObject config) {
 | 
			
		||||
 | 
			
		||||
        if (!config.containsKey("userAgent")) {
 | 
			
		||||
            config.put("userAgent", "{{#httpUserAgent}}{{{.}}}{{/httpUserAgent}}{{^httpUserAgent}}OpenAPI-Generator/{{{artifactVersion}}}/java{{/httpUserAgent}}");
 | 
			
		||||
            config.put("userAgent", "{{{httpUserAgent}}}{{^httpUserAgent}}OpenAPI-Generator/{{{artifactVersion}}}/java{{/httpUserAgent}}");
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        return WebClient.create(vertx, new WebClientOptions(config));
 | 
			
		||||
 | 
			
		||||
@ -16,12 +16,12 @@ public interface {{classname}} {
 | 
			
		||||
    {{#isDeprecated}}
 | 
			
		||||
    @Deprecated
 | 
			
		||||
    {{/isDeprecated}}
 | 
			
		||||
    void {{operationId}}({{#allParams}}{{{dataType}}} {{paramName}}, {{/allParams}}Handler<AsyncResult<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}>> handler);
 | 
			
		||||
    void {{operationId}}({{#allParams}}{{{dataType}}} {{paramName}}, {{/allParams}}Handler<AsyncResult<{{{returnType}}}{{^returnType}}Void{{/returnType}}>> handler);
 | 
			
		||||
 | 
			
		||||
    {{#isDeprecated}}
 | 
			
		||||
    @Deprecated
 | 
			
		||||
    {{/isDeprecated}}
 | 
			
		||||
    void {{operationId}}({{#allParams}}{{{dataType}}} {{paramName}}, {{/allParams}}ApiClient.AuthInfo authInfo, Handler<AsyncResult<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}>> handler);
 | 
			
		||||
    void {{operationId}}({{#allParams}}{{{dataType}}} {{paramName}}, {{/allParams}}ApiClient.AuthInfo authInfo, Handler<AsyncResult<{{{returnType}}}{{^returnType}}Void{{/returnType}}>> handler);
 | 
			
		||||
 | 
			
		||||
    {{/operation}}
 | 
			
		||||
    {{/operations}}
 | 
			
		||||
 | 
			
		||||
@ -51,7 +51,7 @@ public class {{classname}}Impl implements {{classname}} {
 | 
			
		||||
    {{/allParams}}
 | 
			
		||||
    * @param resultHandler Asynchronous result handler
 | 
			
		||||
    */
 | 
			
		||||
    public void {{operationId}}({{#allParams}}{{{dataType}}} {{paramName}}, {{/allParams}}Handler<AsyncResult<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}>> resultHandler) {
 | 
			
		||||
    public void {{operationId}}({{#allParams}}{{{dataType}}} {{paramName}}, {{/allParams}}Handler<AsyncResult<{{{returnType}}}{{^returnType}}Void{{/returnType}}>> resultHandler) {
 | 
			
		||||
        {{operationId}}({{#allParams}}{{paramName}}, {{/allParams}}null, resultHandler);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
@ -64,7 +64,7 @@ public class {{classname}}Impl implements {{classname}} {
 | 
			
		||||
    * @param authInfo per call authentication override.
 | 
			
		||||
    * @param resultHandler Asynchronous result handler
 | 
			
		||||
    */
 | 
			
		||||
    public void {{operationId}}({{#allParams}}{{{dataType}}} {{paramName}}, {{/allParams}}ApiClient.AuthInfo authInfo, Handler<AsyncResult<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}>> resultHandler) {
 | 
			
		||||
    public void {{operationId}}({{#allParams}}{{{dataType}}} {{paramName}}, {{/allParams}}ApiClient.AuthInfo authInfo, Handler<AsyncResult<{{{returnType}}}{{^returnType}}Void{{/returnType}}>> resultHandler) {
 | 
			
		||||
        Object localVarBody = {{#bodyParam}}{{paramName}}{{/bodyParam}}{{^bodyParam}}null{{/bodyParam}};
 | 
			
		||||
        {{#allParams}}{{#required}}
 | 
			
		||||
        // verify the required parameter '{{paramName}}' is set
 | 
			
		||||
@ -79,7 +79,7 @@ public class {{classname}}Impl implements {{classname}} {
 | 
			
		||||
        // query params
 | 
			
		||||
        List<Pair> localVarQueryParams = new ArrayList<>();
 | 
			
		||||
        {{#queryParams}}
 | 
			
		||||
        localVarQueryParams.addAll(apiClient.parameterToPairs("{{#collectionFormat}}{{{collectionFormat}}}{{/collectionFormat}}", "{{baseName}}", {{paramName}}));
 | 
			
		||||
        localVarQueryParams.addAll(apiClient.parameterToPairs("{{{collectionFormat}}}", "{{baseName}}", {{paramName}}));
 | 
			
		||||
        {{/queryParams}}
 | 
			
		||||
 | 
			
		||||
        // header params
 | 
			
		||||
 | 
			
		||||
@ -33,7 +33,7 @@ public class {{classname}} {
 | 
			
		||||
    {{/allParams}}
 | 
			
		||||
    * @param resultHandler Asynchronous result handler
 | 
			
		||||
    */
 | 
			
		||||
    public void {{operationId}}({{#allParams}}{{{dataType}}} {{paramName}}, {{/allParams}}Handler<AsyncResult<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}>> resultHandler) {
 | 
			
		||||
    public void {{operationId}}({{#allParams}}{{{dataType}}} {{paramName}}, {{/allParams}}Handler<AsyncResult<{{{returnType}}}{{^returnType}}Void{{/returnType}}>> resultHandler) {
 | 
			
		||||
        delegate.{{operationId}}({{#allParams}}{{paramName}}, {{/allParams}}resultHandler);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
@ -46,7 +46,7 @@ public class {{classname}} {
 | 
			
		||||
    * @param authInfo call specific auth overrides
 | 
			
		||||
    * @param resultHandler Asynchronous result handler
 | 
			
		||||
    */
 | 
			
		||||
    public void {{operationId}}({{#allParams}}{{{dataType}}} {{paramName}}, {{/allParams}}ApiClient.AuthInfo authInfo, Handler<AsyncResult<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}>> resultHandler) {
 | 
			
		||||
    public void {{operationId}}({{#allParams}}{{{dataType}}} {{paramName}}, {{/allParams}}ApiClient.AuthInfo authInfo, Handler<AsyncResult<{{{returnType}}}{{^returnType}}Void{{/returnType}}>> resultHandler) {
 | 
			
		||||
        delegate.{{operationId}}({{#allParams}}{{paramName}}, {{/allParams}}authInfo, resultHandler);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
@ -58,7 +58,7 @@ public class {{classname}} {
 | 
			
		||||
    {{/allParams}}
 | 
			
		||||
    * @return Asynchronous result handler (RxJava Single)
 | 
			
		||||
    */
 | 
			
		||||
    public Single<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}> rx{{operationIdCamelCase}}({{#allParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) {
 | 
			
		||||
    public Single<{{{returnType}}}{{^returnType}}Void{{/returnType}}> rx{{operationIdCamelCase}}({{#allParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) {
 | 
			
		||||
        return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut ->
 | 
			
		||||
            delegate.{{operationId}}({{#allParams}}{{paramName}}, {{/allParams}}fut)
 | 
			
		||||
        ));
 | 
			
		||||
@ -73,7 +73,7 @@ public class {{classname}} {
 | 
			
		||||
    * @param authInfo call specific auth overrides
 | 
			
		||||
    * @return Asynchronous result handler (RxJava Single)
 | 
			
		||||
    */
 | 
			
		||||
    public Single<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}> rx{{operationIdCamelCase}}({{#allParams}}{{{dataType}}} {{paramName}}, {{/allParams}}ApiClient.AuthInfo authInfo) {
 | 
			
		||||
    public Single<{{{returnType}}}{{^returnType}}Void{{/returnType}}> rx{{operationIdCamelCase}}({{#allParams}}{{{dataType}}} {{paramName}}, {{/allParams}}ApiClient.AuthInfo authInfo) {
 | 
			
		||||
        return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut ->
 | 
			
		||||
            delegate.{{operationId}}({{#allParams}}{{paramName}}, {{/allParams}}authInfo, fut)
 | 
			
		||||
        ));
 | 
			
		||||
 | 
			
		||||
@ -54,9 +54,9 @@ public class {{classname}} {
 | 
			
		||||
    /**
 | 
			
		||||
     * {{summary}}
 | 
			
		||||
     * {{notes}}
 | 
			
		||||
{{#responses}}     * <p><b>{{code}}</b>{{#message}} - {{message}}{{/message}}
 | 
			
		||||
{{#responses}}     * <p><b>{{code}}</b>{{#message}} - {{.}}{{/message}}
 | 
			
		||||
{{/responses}}{{#allParams}}     * @param {{paramName}} {{description}}{{^description}}The {{paramName}} parameter{{/description}}
 | 
			
		||||
{{/allParams}}{{#returnType}}     * @return {{returnType}}
 | 
			
		||||
{{/allParams}}{{#returnType}}     * @return {{.}}
 | 
			
		||||
{{/returnType}}     * @throws WebClientResponseException if an error occurs while attempting to invoke the API
 | 
			
		||||
{{#externalDocs}}
 | 
			
		||||
     * {{description}}
 | 
			
		||||
@ -95,7 +95,7 @@ public class {{classname}} {
 | 
			
		||||
        {{#hasQueryParams}}
 | 
			
		||||
 | 
			
		||||
        {{#queryParams}}
 | 
			
		||||
        queryParams.putAll(apiClient.parameterToMultiValueMap({{#collectionFormat}}ApiClient.CollectionFormat.valueOf("{{{collectionFormat}}}".toUpperCase(Locale.ROOT)){{/collectionFormat}}{{^collectionFormat}}null{{/collectionFormat}}, "{{baseName}}", {{paramName}}));
 | 
			
		||||
        queryParams.putAll(apiClient.parameterToMultiValueMap({{#collectionFormat}}ApiClient.CollectionFormat.valueOf("{{{.}}}".toUpperCase(Locale.ROOT)){{/collectionFormat}}{{^collectionFormat}}null{{/collectionFormat}}, "{{baseName}}", {{paramName}}));
 | 
			
		||||
        {{/queryParams}}
 | 
			
		||||
        {{/hasQueryParams}}
 | 
			
		||||
        {{#hasHeaderParams}}
 | 
			
		||||
@ -109,7 +109,7 @@ public class {{classname}} {
 | 
			
		||||
        {{#hasCookieParams}}
 | 
			
		||||
 | 
			
		||||
        {{#cookieParams}}
 | 
			
		||||
        cookieParams.putAll(apiClient.parameterToMultiValueMap({{#collectionFormat}}ApiClient.CollectionFormat.valueOf("{{{collectionFormat}}}".toUpperCase(Locale.ROOT)){{/collectionFormat}}{{^collectionFormat}}null{{/collectionFormat}}, "{{baseName}}", {{paramName}}));
 | 
			
		||||
        cookieParams.putAll(apiClient.parameterToMultiValueMap({{#collectionFormat}}ApiClient.CollectionFormat.valueOf("{{{.}}}".toUpperCase(Locale.ROOT)){{/collectionFormat}}{{^collectionFormat}}null{{/collectionFormat}}, "{{baseName}}", {{paramName}}));
 | 
			
		||||
        {{/cookieParams}}
 | 
			
		||||
        {{/hasCookieParams}}
 | 
			
		||||
        {{#hasFormParams}}
 | 
			
		||||
@ -138,9 +138,9 @@ public class {{classname}} {
 | 
			
		||||
    /**
 | 
			
		||||
     * {{summary}}
 | 
			
		||||
     * {{notes}}
 | 
			
		||||
{{#responses}}     * <p><b>{{code}}</b>{{#message}} - {{message}}{{/message}}
 | 
			
		||||
{{#responses}}     * <p><b>{{code}}</b>{{#message}} - {{.}}{{/message}}
 | 
			
		||||
{{/responses}}{{#allParams}}     * @param {{paramName}} {{description}}{{^description}}The {{paramName}} parameter{{/description}}
 | 
			
		||||
{{/allParams}}{{#returnType}}     * @return {{returnType}}
 | 
			
		||||
{{/allParams}}{{#returnType}}     * @return {{.}}
 | 
			
		||||
{{/returnType}}     * @throws WebClientResponseException if an error occurs while attempting to invoke the API
 | 
			
		||||
{{#externalDocs}}
 | 
			
		||||
    * {{description}}
 | 
			
		||||
 | 
			
		||||
@ -34,7 +34,7 @@ public class {{classname}}Test {
 | 
			
		||||
        {{#allParams}}
 | 
			
		||||
        {{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection<org.springframework.core.io.AbstractResource>{{/collectionFormat}}{{^collectionFormat}}org.springframework.core.io.AbstractResource{{/collectionFormat}}{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{dataType}}}{{/useAbstractionForFiles}}{{/isFile}}{{^isFile}}{{{dataType}}}{{/isFile}} {{paramName}} = null;
 | 
			
		||||
        {{/allParams}}
 | 
			
		||||
        {{#returnType}}{{{returnType}}} response = {{/returnType}}api.{{operationId}}({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}}){{#isArray}}{{#uniqueItems}}.collect(Collectors.toSet()){{/uniqueItems}}{{^uniqueItems}}.collectList(){{/uniqueItems}}.block(){{/isArray}}{{^isArray}}.block(){{/isArray}};
 | 
			
		||||
        {{#returnType}}{{{.}}} response = {{/returnType}}api.{{operationId}}({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}}){{#isArray}}{{#uniqueItems}}.collect(Collectors.toSet()){{/uniqueItems}}{{^uniqueItems}}.collectList(){{/uniqueItems}}.block(){{/isArray}}{{^isArray}}.block(){{/isArray}};
 | 
			
		||||
 | 
			
		||||
        // TODO: test validations
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
@ -162,4 +162,3 @@ dependencies {
 | 
			
		||||
    implementation "javax.annotation:javax.annotation-api:$javax_annotation_version"
 | 
			
		||||
    testImplementation "junit:junit:$junit_version"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -2,8 +2,8 @@
 | 
			
		||||
 * {{{appName}}}
 | 
			
		||||
 * {{{appDescription}}}
 | 
			
		||||
 *
 | 
			
		||||
 * {{#version}}The version of the OpenAPI document: {{{version}}}{{/version}}
 | 
			
		||||
 * {{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}}
 | 
			
		||||
 * {{#version}}The version of the OpenAPI document: {{{.}}}{{/version}}
 | 
			
		||||
 * {{#infoEmail}}Contact: {{{.}}}{{/infoEmail}}
 | 
			
		||||
 *
 | 
			
		||||
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 | 
			
		||||
 * https://openapi-generator.tech
 | 
			
		||||
 | 
			
		||||
@ -11,20 +11,20 @@ import com.google.gson.stream.JsonWriter;
 | 
			
		||||
{{/gson}}
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * {{^description}}Gets or Sets {{{name}}}{{/description}}{{#description}}{{description}}{{/description}}
 | 
			
		||||
 * {{description}}{{^description}}Gets or Sets {{{name}}}{{/description}}
 | 
			
		||||
 */
 | 
			
		||||
{{#gson}}
 | 
			
		||||
@JsonAdapter({{#datatypeWithEnum}}{{{.}}}{{/datatypeWithEnum}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}}.Adapter.class)
 | 
			
		||||
@JsonAdapter({{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}}.Adapter.class)
 | 
			
		||||
{{/gson}}
 | 
			
		||||
{{#jsonb}}
 | 
			
		||||
@JsonbTypeSerializer({{datatypeWithEnum}}.Serializer.class)
 | 
			
		||||
@JsonbTypeDeserializer({{datatypeWithEnum}}.Deserializer.class)
 | 
			
		||||
{{/jsonb}}
 | 
			
		||||
{{>additionalEnumTypeAnnotations}}public enum {{#datatypeWithEnum}}{{{.}}}{{/datatypeWithEnum}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}} {
 | 
			
		||||
{{>additionalEnumTypeAnnotations}}public enum {{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}} {
 | 
			
		||||
  {{#allowableValues}}{{#enumVars}}
 | 
			
		||||
    {{#enumDescription}}
 | 
			
		||||
  /**
 | 
			
		||||
   * {{enumDescription}}
 | 
			
		||||
   * {{.}}
 | 
			
		||||
   */
 | 
			
		||||
     {{/enumDescription}}
 | 
			
		||||
  {{#withXml}}
 | 
			
		||||
@ -35,7 +35,7 @@ import com.google.gson.stream.JsonWriter;
 | 
			
		||||
 | 
			
		||||
  private {{{dataType}}} value;
 | 
			
		||||
 | 
			
		||||
  {{#datatypeWithEnum}}{{{.}}}{{/datatypeWithEnum}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}}({{{dataType}}} value) {
 | 
			
		||||
  {{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}}({{{dataType}}} value) {
 | 
			
		||||
    this.value = value;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
@ -54,8 +54,8 @@ import com.google.gson.stream.JsonWriter;
 | 
			
		||||
{{#jackson}}
 | 
			
		||||
  @JsonCreator
 | 
			
		||||
{{/jackson}}
 | 
			
		||||
  public static {{#datatypeWithEnum}}{{{.}}}{{/datatypeWithEnum}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}} fromValue({{{dataType}}} value) {
 | 
			
		||||
    for ({{#datatypeWithEnum}}{{{.}}}{{/datatypeWithEnum}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}} b : {{#datatypeWithEnum}}{{{.}}}{{/datatypeWithEnum}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}}.values()) {
 | 
			
		||||
  public static {{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}} fromValue({{{dataType}}} value) {
 | 
			
		||||
    for ({{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}} b : {{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}}.values()) {
 | 
			
		||||
      if (b.value.equals(value)) {
 | 
			
		||||
        return b;
 | 
			
		||||
      }
 | 
			
		||||
@ -64,16 +64,16 @@ import com.google.gson.stream.JsonWriter;
 | 
			
		||||
  }
 | 
			
		||||
{{#gson}}
 | 
			
		||||
 | 
			
		||||
  public static class Adapter extends TypeAdapter<{{#datatypeWithEnum}}{{{.}}}{{/datatypeWithEnum}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}}> {
 | 
			
		||||
  public static class Adapter extends TypeAdapter<{{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}}> {
 | 
			
		||||
    @Override
 | 
			
		||||
    public void write(final JsonWriter jsonWriter, final {{#datatypeWithEnum}}{{{.}}}{{/datatypeWithEnum}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}} enumeration) throws IOException {
 | 
			
		||||
    public void write(final JsonWriter jsonWriter, final {{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}} enumeration) throws IOException {
 | 
			
		||||
      jsonWriter.value(enumeration.getValue());
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    public {{#datatypeWithEnum}}{{{.}}}{{/datatypeWithEnum}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}} read(final JsonReader jsonReader) throws IOException {
 | 
			
		||||
    public {{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}} read(final JsonReader jsonReader) throws IOException {
 | 
			
		||||
      {{^isNumber}}{{{dataType}}}{{/isNumber}}{{#isNumber}}String{{/isNumber}} value = jsonReader.{{#isNumber}}nextString(){{/isNumber}}{{#isInteger}}nextInt(){{/isInteger}}{{^isNumber}}{{^isInteger}}next{{{dataType}}}(){{/isInteger}}{{/isNumber}};
 | 
			
		||||
      return {{#datatypeWithEnum}}{{{.}}}{{/datatypeWithEnum}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}}.fromValue({{#isNumber}}new BigDecimal({{/isNumber}}value{{#isNumber}}){{/isNumber}});
 | 
			
		||||
      return {{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}}.fromValue({{#isNumber}}new BigDecimal({{/isNumber}}value{{#isNumber}}){{/isNumber}});
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
{{/gson}}
 | 
			
		||||
@ -81,7 +81,7 @@ import com.google.gson.stream.JsonWriter;
 | 
			
		||||
  public static final class Deserializer implements JsonbDeserializer<{{datatypeWithEnum}}> {
 | 
			
		||||
    @Override
 | 
			
		||||
    public {{datatypeWithEnum}} deserialize(JsonParser parser, DeserializationContext ctx, Type rtType) {
 | 
			
		||||
      for ({{#datatypeWithEnum}}{{{.}}}{{/datatypeWithEnum}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}} b : {{#datatypeWithEnum}}{{{.}}}{{/datatypeWithEnum}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}}.values()) {
 | 
			
		||||
      for ({{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}} b : {{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}}.values()) {
 | 
			
		||||
        if (String.valueOf(b.value).equals(parser.getString())) {
 | 
			
		||||
          return b;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
@ -1,8 +1,8 @@
 | 
			
		||||
  /**
 | 
			
		||||
   * {{^description}}Gets or Sets {{{name}}}{{/description}}{{#description}}{{description}}{{/description}}
 | 
			
		||||
   * {{description}}{{^description}}Gets or Sets {{{name}}}{{/description}}
 | 
			
		||||
   */
 | 
			
		||||
{{#gson}}
 | 
			
		||||
  @JsonAdapter({{#datatypeWithEnum}}{{{.}}}{{/datatypeWithEnum}}{{^datatypeWithEnum}}{{classname}}{{/datatypeWithEnum}}.Adapter.class)
 | 
			
		||||
  @JsonAdapter({{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{classname}}{{/datatypeWithEnum}}.Adapter.class)
 | 
			
		||||
{{/gson}}
 | 
			
		||||
{{#jsonb}}
 | 
			
		||||
  @JsonbTypeSerializer({{datatypeWithEnum}}.Serializer.class)
 | 
			
		||||
@ -12,12 +12,12 @@
 | 
			
		||||
  @XmlType(name="{{datatypeWithEnum}}")
 | 
			
		||||
  @XmlEnum({{dataType}}.class)
 | 
			
		||||
{{/withXml}}
 | 
			
		||||
  {{>additionalEnumTypeAnnotations}}public enum {{#datatypeWithEnum}}{{{.}}}{{/datatypeWithEnum}}{{^datatypeWithEnum}}{{classname}}{{/datatypeWithEnum}} {
 | 
			
		||||
  {{>additionalEnumTypeAnnotations}}public enum {{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{classname}}{{/datatypeWithEnum}} {
 | 
			
		||||
    {{#allowableValues}}
 | 
			
		||||
      {{#enumVars}}
 | 
			
		||||
    {{#enumDescription}}
 | 
			
		||||
    /**
 | 
			
		||||
     * {{enumDescription}}
 | 
			
		||||
     * {{.}}
 | 
			
		||||
     */
 | 
			
		||||
    {{/enumDescription}}
 | 
			
		||||
    {{#withXml}}
 | 
			
		||||
@ -30,7 +30,7 @@
 | 
			
		||||
 | 
			
		||||
    private {{{dataType}}} value;
 | 
			
		||||
 | 
			
		||||
    {{#datatypeWithEnum}}{{{.}}}{{/datatypeWithEnum}}{{^datatypeWithEnum}}{{classname}}{{/datatypeWithEnum}}({{{dataType}}} value) {
 | 
			
		||||
    {{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{classname}}{{/datatypeWithEnum}}({{{dataType}}} value) {
 | 
			
		||||
      this.value = value;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
@ -49,8 +49,8 @@
 | 
			
		||||
{{#jackson}}
 | 
			
		||||
    @JsonCreator
 | 
			
		||||
{{/jackson}}
 | 
			
		||||
    public static {{#datatypeWithEnum}}{{{.}}}{{/datatypeWithEnum}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}} fromValue({{{dataType}}} value) {
 | 
			
		||||
      for ({{#datatypeWithEnum}}{{{.}}}{{/datatypeWithEnum}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}} b : {{#datatypeWithEnum}}{{{.}}}{{/datatypeWithEnum}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}}.values()) {
 | 
			
		||||
    public static {{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}} fromValue({{{dataType}}} value) {
 | 
			
		||||
      for ({{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}} b : {{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}}.values()) {
 | 
			
		||||
        if (b.value.equals(value)) {
 | 
			
		||||
          return b;
 | 
			
		||||
        }
 | 
			
		||||
@ -59,16 +59,16 @@
 | 
			
		||||
    }
 | 
			
		||||
{{#gson}}
 | 
			
		||||
 | 
			
		||||
    public static class Adapter extends TypeAdapter<{{#datatypeWithEnum}}{{{.}}}{{/datatypeWithEnum}}{{^datatypeWithEnum}}{{classname}}{{/datatypeWithEnum}}> {
 | 
			
		||||
    public static class Adapter extends TypeAdapter<{{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{classname}}{{/datatypeWithEnum}}> {
 | 
			
		||||
      @Override
 | 
			
		||||
      public void write(final JsonWriter jsonWriter, final {{#datatypeWithEnum}}{{{.}}}{{/datatypeWithEnum}}{{^datatypeWithEnum}}{{classname}}{{/datatypeWithEnum}} enumeration) throws IOException {
 | 
			
		||||
      public void write(final JsonWriter jsonWriter, final {{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{classname}}{{/datatypeWithEnum}} enumeration) throws IOException {
 | 
			
		||||
        jsonWriter.value(enumeration.getValue());
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
      @Override
 | 
			
		||||
      public {{#datatypeWithEnum}}{{{.}}}{{/datatypeWithEnum}}{{^datatypeWithEnum}}{{classname}}{{/datatypeWithEnum}} read(final JsonReader jsonReader) throws IOException {
 | 
			
		||||
      public {{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{classname}}{{/datatypeWithEnum}} read(final JsonReader jsonReader) throws IOException {
 | 
			
		||||
        {{^isNumber}}{{{dataType}}}{{/isNumber}}{{#isNumber}}String{{/isNumber}} value = {{#isFloat}}(float){{/isFloat}} jsonReader.{{#isNumber}}nextString(){{/isNumber}}{{#isInteger}}nextInt(){{/isInteger}}{{^isNumber}}{{^isInteger}}{{#isFloat}}nextDouble{{/isFloat}}{{^isFloat}}next{{{dataType}}}{{/isFloat}}(){{/isInteger}}{{/isNumber}};
 | 
			
		||||
        return {{#datatypeWithEnum}}{{{.}}}{{/datatypeWithEnum}}{{^datatypeWithEnum}}{{classname}}{{/datatypeWithEnum}}.fromValue({{#isNumber}}new BigDecimal({{/isNumber}}value{{#isNumber}}){{/isNumber}});
 | 
			
		||||
        return {{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{classname}}{{/datatypeWithEnum}}.fromValue({{#isNumber}}new BigDecimal({{/isNumber}}value{{#isNumber}}){{/isNumber}});
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
{{/gson}}
 | 
			
		||||
@ -76,7 +76,7 @@
 | 
			
		||||
    public static final class Deserializer implements JsonbDeserializer<{{datatypeWithEnum}}> {
 | 
			
		||||
      @Override
 | 
			
		||||
      public {{datatypeWithEnum}} deserialize(JsonParser parser, DeserializationContext ctx, Type rtType) {
 | 
			
		||||
        for ({{#datatypeWithEnum}}{{{.}}}{{/datatypeWithEnum}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}} b : {{#datatypeWithEnum}}{{{.}}}{{/datatypeWithEnum}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}}.values()) {
 | 
			
		||||
        for ({{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}} b : {{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}}.values()) {
 | 
			
		||||
          if (String.valueOf(b.value).equals(parser.getString())) {
 | 
			
		||||
            return b;
 | 
			
		||||
          }
 | 
			
		||||
 | 
			
		||||
@ -1,9 +1,9 @@
 | 
			
		||||
/**
 | 
			
		||||
 * {{#description}}{{.}}{{/description}}{{^description}}{{classname}}{{/description}}{{#isDeprecated}}
 | 
			
		||||
 * {{description}}{{^description}}{{classname}}{{/description}}{{#isDeprecated}}
 | 
			
		||||
 * @deprecated{{/isDeprecated}}
 | 
			
		||||
 */{{#isDeprecated}}
 | 
			
		||||
@Deprecated{{/isDeprecated}}{{#description}}
 | 
			
		||||
@ApiModel(description = "{{{description}}}"){{/description}}
 | 
			
		||||
@ApiModel(description = "{{{.}}}"){{/description}}
 | 
			
		||||
{{#jackson}}
 | 
			
		||||
@JsonPropertyOrder({
 | 
			
		||||
{{#vars}}
 | 
			
		||||
@ -13,7 +13,7 @@
 | 
			
		||||
@JsonTypeName("{{name}}")
 | 
			
		||||
{{/jackson}}
 | 
			
		||||
{{>additionalModelTypeAnnotations}}{{>generatedAnnotation}}{{#discriminator}}{{>typeInfoAnnotation}}{{/discriminator}}{{>xmlAnnotation}}
 | 
			
		||||
public class {{classname}} {{#parent}}extends {{{parent}}} {{/parent}}{{#vendorExtensions.x-implements}}{{#-first}}implements {{{.}}}{{/-first}}{{^-first}}, {{{.}}}{{/-first}}{{#-last}} {{/-last}}{{/vendorExtensions.x-implements}}{
 | 
			
		||||
public class {{classname}} {{#parent}}extends {{{.}}} {{/parent}}{{#vendorExtensions.x-implements}}{{#-first}}implements {{{.}}}{{/-first}}{{^-first}}, {{{.}}}{{/-first}}{{#-last}} {{/-last}}{{/vendorExtensions.x-implements}}{
 | 
			
		||||
{{#serializableModel}}
 | 
			
		||||
  private static final long serialVersionUID = 1L;
 | 
			
		||||
 | 
			
		||||
@ -37,21 +37,21 @@ public class {{classname}} {{#parent}}extends {{{parent}}} {{/parent}}{{#vendorE
 | 
			
		||||
  {{/jackson}}
 | 
			
		||||
  {{#withXml}}
 | 
			
		||||
  {{#isXmlAttribute}}
 | 
			
		||||
  @XmlAttribute(name = "{{#xmlName}}{{xmlName}}{{/xmlName}}{{^xmlName}}{{baseName}}{{/xmlName}}")
 | 
			
		||||
  @XmlAttribute(name = "{{xmlName}}{{^xmlName}}{{baseName}}{{/xmlName}}")
 | 
			
		||||
  {{/isXmlAttribute}}
 | 
			
		||||
  {{^isXmlAttribute}}
 | 
			
		||||
    {{^isContainer}}
 | 
			
		||||
  @XmlElement({{#xmlNamespace}}namespace="{{xmlNamespace}}", {{/xmlNamespace}}name = "{{#xmlName}}{{xmlName}}{{/xmlName}}{{^xmlName}}{{baseName}}{{/xmlName}}")
 | 
			
		||||
  @XmlElement({{#xmlNamespace}}namespace="{{.}}", {{/xmlNamespace}}name = "{{xmlName}}{{^xmlName}}{{baseName}}{{/xmlName}}")
 | 
			
		||||
    {{/isContainer}}
 | 
			
		||||
    {{#isContainer}}
 | 
			
		||||
  // Is a container wrapped={{isXmlWrapped}}
 | 
			
		||||
      {{#items}}
 | 
			
		||||
  // items.name={{name}} items.baseName={{baseName}} items.xmlName={{xmlName}} items.xmlNamespace={{xmlNamespace}}
 | 
			
		||||
  // items.example={{example}} items.type={{dataType}}
 | 
			
		||||
  @XmlElement({{#xmlNamespace}}namespace="{{xmlNamespace}}", {{/xmlNamespace}}name = "{{#xmlName}}{{xmlName}}{{/xmlName}}{{^xmlName}}{{baseName}}{{/xmlName}}")
 | 
			
		||||
  @XmlElement({{#xmlNamespace}}namespace="{{.}}", {{/xmlNamespace}}name = "{{xmlName}}{{^xmlName}}{{baseName}}{{/xmlName}}")
 | 
			
		||||
      {{/items}}
 | 
			
		||||
      {{#isXmlWrapped}}
 | 
			
		||||
  @XmlElementWrapper({{#xmlNamespace}}namespace="{{xmlNamespace}}", {{/xmlNamespace}}name = "{{#xmlName}}{{xmlName}}{{/xmlName}}{{^xmlName}}{{baseName}}{{/xmlName}}")
 | 
			
		||||
  @XmlElementWrapper({{#xmlNamespace}}namespace="{{.}}", {{/xmlNamespace}}name = "{{xmlName}}{{^xmlName}}{{baseName}}{{/xmlName}}")
 | 
			
		||||
      {{/isXmlWrapped}}
 | 
			
		||||
    {{/isContainer}}
 | 
			
		||||
  {{/isXmlAttribute}}
 | 
			
		||||
@ -160,16 +160,16 @@ public class {{classname}} {{#parent}}extends {{{parent}}} {{/parent}}{{#vendorE
 | 
			
		||||
  {{/isReadOnly}}
 | 
			
		||||
   /**
 | 
			
		||||
  {{#description}}
 | 
			
		||||
   * {{description}}
 | 
			
		||||
   * {{.}}
 | 
			
		||||
  {{/description}}
 | 
			
		||||
  {{^description}}
 | 
			
		||||
   * Get {{name}}
 | 
			
		||||
  {{/description}}
 | 
			
		||||
  {{#minimum}}
 | 
			
		||||
   * minimum: {{minimum}}
 | 
			
		||||
   * minimum: {{.}}
 | 
			
		||||
  {{/minimum}}
 | 
			
		||||
  {{#maximum}}
 | 
			
		||||
   * maximum: {{maximum}}
 | 
			
		||||
   * maximum: {{.}}
 | 
			
		||||
  {{/maximum}}
 | 
			
		||||
   * @return {{name}}
 | 
			
		||||
   {{#deprecated}}
 | 
			
		||||
@ -193,7 +193,7 @@ public class {{classname}} {{#parent}}extends {{{parent}}} {{/parent}}{{#vendorE
 | 
			
		||||
{{#jsonb}}
 | 
			
		||||
  @JsonbProperty("{{baseName}}")
 | 
			
		||||
{{/jsonb}}
 | 
			
		||||
{{#useBeanValidation}}{{>beanValidation}}{{/useBeanValidation}}  @ApiModelProperty({{#example}}example = "{{{example}}}", {{/example}}{{#required}}required = {{required}}, {{/required}}value = "{{{description}}}")
 | 
			
		||||
{{#useBeanValidation}}{{>beanValidation}}{{/useBeanValidation}}  @ApiModelProperty({{#example}}example = "{{{.}}}", {{/example}}{{#required}}required = {{required}}, {{/required}}value = "{{{description}}}")
 | 
			
		||||
{{#vendorExtensions.x-extra-annotation}}
 | 
			
		||||
  {{{vendorExtensions.x-extra-annotation}}}
 | 
			
		||||
{{/vendorExtensions.x-extra-annotation}}
 | 
			
		||||
 | 
			
		||||
@ -8,7 +8,7 @@
 | 
			
		||||
 | 
			
		||||
Name | Type | Description | Notes
 | 
			
		||||
------------ | ------------- | ------------- | -------------
 | 
			
		||||
{{#vars}}**{{name}}** | {{#isEnum}}[**{{datatypeWithEnum}}**](#{{datatypeWithEnum}}){{/isEnum}}{{^isEnum}}{{#isContainer}}{{#isArray}}{{#items}}{{#isModel}}[{{/isModel}}{{/items}}**{{baseType}}{{#items}}<{{dataType}}>**{{#isModel}}]({{^baseType}}{{dataType}}{{/baseType}}{{#baseType}}{{baseType}}{{/baseType}}.md){{/isModel}}{{/items}}{{/isArray}}{{#isMap}}{{#items}}{{#isModel}}[{{/isModel}}**Map<String, {{dataType}}>**{{#isModel}}]({{^baseType}}{{dataType}}{{/baseType}}{{#baseType}}{{baseType}}{{/baseType}}.md){{/isModel}}{{/items}}{{/isMap}}{{/isContainer}}{{^isContainer}}{{#isModel}}[{{/isModel}}**{{dataType}}**{{#isModel}}]({{^baseType}}{{dataType}}{{/baseType}}{{#baseType}}{{baseType}}{{/baseType}}.md){{/isModel}}{{/isContainer}}{{/isEnum}} | {{description}} | {{^required}} [optional]{{/required}}{{#isReadOnly}} [readonly]{{/isReadOnly}}
 | 
			
		||||
{{#vars}}**{{name}}** | {{#isEnum}}[**{{datatypeWithEnum}}**](#{{datatypeWithEnum}}){{/isEnum}}{{^isEnum}}{{#isContainer}}{{#isArray}}{{#items}}{{#isModel}}[{{/isModel}}{{/items}}**{{baseType}}{{#items}}<{{dataType}}>**{{#isModel}}]({{^baseType}}{{dataType}}{{/baseType}}{{baseType}}.md){{/isModel}}{{/items}}{{/isArray}}{{#isMap}}{{#items}}{{#isModel}}[{{/isModel}}**Map<String, {{dataType}}>**{{#isModel}}]({{^baseType}}{{dataType}}{{/baseType}}{{baseType}}.md){{/isModel}}{{/items}}{{/isMap}}{{/isContainer}}{{^isContainer}}{{#isModel}}[{{/isModel}}**{{dataType}}**{{#isModel}}]({{^baseType}}{{dataType}}{{/baseType}}{{baseType}}.md){{/isModel}}{{/isContainer}}{{/isEnum}} | {{description}} | {{^required}} [optional]{{/required}}{{#isReadOnly}} [readonly]{{/isReadOnly}}
 | 
			
		||||
{{/vars}}
 | 
			
		||||
{{#vars}}{{#isEnum}}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
{{#withXml}}
 | 
			
		||||
 | 
			
		||||
@XmlRootElement({{#xmlNamespace}}namespace="{{xmlNamespace}}", {{/xmlNamespace}}name = "{{#xmlName}}{{xmlName}}{{/xmlName}}{{^xmlName}}{{classname}}{{/xmlName}}")
 | 
			
		||||
@XmlRootElement({{#xmlNamespace}}namespace="{{.}}", {{/xmlNamespace}}name = "{{xmlName}}{{^xmlName}}{{classname}}{{/xmlName}}")
 | 
			
		||||
@XmlAccessorType(XmlAccessType.FIELD)
 | 
			
		||||
{{#jackson}}
 | 
			
		||||
@JacksonXmlRootElement({{#xmlNamespace}}namespace="{{xmlNamespace}}", {{/xmlNamespace}}localName = "{{#xmlName}}{{xmlName}}{{/xmlName}}{{^xmlName}}{{classname}}{{/xmlName}}"){{/jackson}}{{/withXml}}
 | 
			
		||||
@JacksonXmlRootElement({{#xmlNamespace}}namespace="{{.}}", {{/xmlNamespace}}localName = "{{xmlName}}{{^xmlName}}{{classname}}{{/xmlName}}"){{/jackson}}{{/withXml}}
 | 
			
		||||
@ -5,4 +5,3 @@ Run with
 | 
			
		||||
```
 | 
			
		||||
mvn package jetty:run
 | 
			
		||||
``
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -32,4 +32,3 @@ public class {{classname}}  {
 | 
			
		||||
{{/operation}}
 | 
			
		||||
}
 | 
			
		||||
{{/operations}}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -1,7 +1,7 @@
 | 
			
		||||
  /**
 | 
			
		||||
   * {{^description}}Gets or Sets {{{name}}}{{/description}}{{#description}}{{{description}}}{{/description}}
 | 
			
		||||
   * {{^description}}Gets or Sets {{{name}}}{{/description}}{{{description}}}
 | 
			
		||||
   */
 | 
			
		||||
  {{>additionalEnumTypeAnnotations}}public enum {{#datatypeWithEnum}}{{{.}}}{{/datatypeWithEnum}}{{^datatypeWithEnum}}{{classname}}{{/datatypeWithEnum}} {
 | 
			
		||||
  {{>additionalEnumTypeAnnotations}}public enum {{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{classname}}{{/datatypeWithEnum}} {
 | 
			
		||||
    {{#gson}}
 | 
			
		||||
        {{#allowableValues}}
 | 
			
		||||
            {{#enumVars}}
 | 
			
		||||
@ -22,7 +22,7 @@
 | 
			
		||||
 | 
			
		||||
    private {{{dataType}}} value;
 | 
			
		||||
 | 
			
		||||
    {{#datatypeWithEnum}}{{{.}}}{{/datatypeWithEnum}}{{^datatypeWithEnum}}{{classname}}{{/datatypeWithEnum}}({{{dataType}}} value) {
 | 
			
		||||
    {{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{classname}}{{/datatypeWithEnum}}({{{dataType}}} value) {
 | 
			
		||||
      this.value = value;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
@ -33,8 +33,8 @@
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @JsonCreator
 | 
			
		||||
    public static {{#datatypeWithEnum}}{{{.}}}{{/datatypeWithEnum}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}} fromValue(String text) {
 | 
			
		||||
      for ({{#datatypeWithEnum}}{{{.}}}{{/datatypeWithEnum}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}} b : {{#datatypeWithEnum}}{{{.}}}{{/datatypeWithEnum}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}}.values()) {
 | 
			
		||||
    public static {{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}} fromValue(String text) {
 | 
			
		||||
      for ({{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}} b : {{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}}.values()) {
 | 
			
		||||
        if (String.valueOf(b.value).equals(text)) {
 | 
			
		||||
          return b;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
Some files were not shown because too many files have changed in this diff Show More
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user