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|
|
||||
|serializableModel|boolean - toggle "implements Serializable" for generated models| |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|
|
||||
|sortModelPropertiesByRequiredFlag|Sort model properties 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,
|
||||
"Whether to select only one produces/consumes content-type by operation.", singleContentTypes));
|
||||
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(REACTIVE, "wrap responses in Mono/Flux Reactor types (spring-boot only)",
|
||||
reactive));
|
||||
|
@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
* @implements \ArrayAccess<TKey, TValue>
|
||||
* @template TKey int|null
|
||||
* @template TValue mixed|null
|
||||
* @implements \ArrayAccess<string, mixed>
|
||||
*/
|
||||
class AllOfWithSingleRef implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
{
|
||||
|
@ -38,9 +38,7 @@ use \OpenAPI\Client\ObjectSerializer;
|
||||
* @package OpenAPI\Client
|
||||
* @author OpenAPI Generator team
|
||||
* @link https://openapi-generator.tech
|
||||
* @implements \ArrayAccess<TKey, TValue>
|
||||
* @template TKey int|null
|
||||
* @template TValue mixed|null
|
||||
* @implements \ArrayAccess<string, mixed>
|
||||
*/
|
||||
class FooGetDefaultResponse implements ModelInterface, ArrayAccess, \JsonSerializable
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user