forked from loafle/openapi-generator-original
		
	update samples, docs
This commit is contained in:
		
							parent
							
								
									051ed53ed0
								
							
						
					
					
						commit
						8f3dd48772
					
				@ -80,7 +80,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
 | 
				
			|||||||
|scmUrl|SCM URL in generated pom.xml| |https://github.com/openapitools/openapi-generator|
 | 
					|scmUrl|SCM URL in generated pom.xml| |https://github.com/openapitools/openapi-generator|
 | 
				
			||||||
|serializableModel|boolean - toggle "implements Serializable" for generated models| |false|
 | 
					|serializableModel|boolean - toggle "implements Serializable" for generated models| |false|
 | 
				
			||||||
|singleContentTypes|Whether to select only one produces/consumes content-type by operation.| |false|
 | 
					|singleContentTypes|Whether to select only one produces/consumes content-type by operation.| |false|
 | 
				
			||||||
|skipDefaultInterface|Whether to generate default implementations for java8 interfaces| |false|
 | 
					|skipDefaultInterface|Whether to skip generation of default implementations for java8 interfaces| |false|
 | 
				
			||||||
|snapshotVersion|Uses a SNAPSHOT version.|<dl><dt>**true**</dt><dd>Use a SnapShot Version</dd><dt>**false**</dt><dd>Use a Release Version</dd></dl>|null|
 | 
					|snapshotVersion|Uses a SNAPSHOT version.|<dl><dt>**true**</dt><dd>Use a SnapShot Version</dd><dt>**false**</dt><dd>Use a Release Version</dd></dl>|null|
 | 
				
			||||||
|sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true|
 | 
					|sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true|
 | 
				
			||||||
|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true|
 | 
					|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true|
 | 
				
			||||||
 | 
				
			|||||||
@ -178,7 +178,7 @@ public class SpringCodegen extends AbstractJavaCodegen
 | 
				
			|||||||
        cliOptions.add(CliOption.newBoolean(SINGLE_CONTENT_TYPES,
 | 
					        cliOptions.add(CliOption.newBoolean(SINGLE_CONTENT_TYPES,
 | 
				
			||||||
                "Whether to select only one produces/consumes content-type by operation.", singleContentTypes));
 | 
					                "Whether to select only one produces/consumes content-type by operation.", singleContentTypes));
 | 
				
			||||||
        cliOptions.add(CliOption.newBoolean(SKIP_DEFAULT_INTERFACE,
 | 
					        cliOptions.add(CliOption.newBoolean(SKIP_DEFAULT_INTERFACE,
 | 
				
			||||||
                "Whether to generate default implementations for java8 interfaces", skipDefaultInterface));
 | 
					                "Whether to skip generation of default implementations for java8 interfaces", skipDefaultInterface));
 | 
				
			||||||
        cliOptions.add(CliOption.newBoolean(ASYNC, "use async Callable controllers", async));
 | 
					        cliOptions.add(CliOption.newBoolean(ASYNC, "use async Callable controllers", async));
 | 
				
			||||||
        cliOptions.add(CliOption.newBoolean(REACTIVE, "wrap responses in Mono/Flux Reactor types (spring-boot only)",
 | 
					        cliOptions.add(CliOption.newBoolean(REACTIVE, "wrap responses in Mono/Flux Reactor types (spring-boot only)",
 | 
				
			||||||
                reactive));
 | 
					                reactive));
 | 
				
			||||||
 | 
				
			|||||||
@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
 | 
				
			|||||||
 * @package  OpenAPI\Client
 | 
					 * @package  OpenAPI\Client
 | 
				
			||||||
 * @author   OpenAPI Generator team
 | 
					 * @author   OpenAPI Generator team
 | 
				
			||||||
 * @link     https://openapi-generator.tech
 | 
					 * @link     https://openapi-generator.tech
 | 
				
			||||||
 * @implements \ArrayAccess<TKey, TValue>
 | 
					 * @implements \ArrayAccess<string, mixed>
 | 
				
			||||||
 * @template TKey int|null
 | 
					 | 
				
			||||||
 * @template TValue mixed|null
 | 
					 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
class AllOfWithSingleRef implements ModelInterface, ArrayAccess, \JsonSerializable
 | 
					class AllOfWithSingleRef implements ModelInterface, ArrayAccess, \JsonSerializable
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
 | 
				
			|||||||
@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
 | 
				
			|||||||
 * @package  OpenAPI\Client
 | 
					 * @package  OpenAPI\Client
 | 
				
			||||||
 * @author   OpenAPI Generator team
 | 
					 * @author   OpenAPI Generator team
 | 
				
			||||||
 * @link     https://openapi-generator.tech
 | 
					 * @link     https://openapi-generator.tech
 | 
				
			||||||
 * @implements \ArrayAccess<TKey, TValue>
 | 
					 * @implements \ArrayAccess<string, mixed>
 | 
				
			||||||
 * @template TKey int|null
 | 
					 | 
				
			||||||
 * @template TValue mixed|null
 | 
					 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
class FooGetDefaultResponse implements ModelInterface, ArrayAccess, \JsonSerializable
 | 
					class FooGetDefaultResponse implements ModelInterface, ArrayAccess, \JsonSerializable
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user