-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJava Spring (Boot + MVC + CloudFeign) Server.gen
More file actions
164 lines (118 loc) · 5.43 KB
/
Java Spring (Boot + MVC + CloudFeign) Server.gen
File metadata and controls
164 lines (118 loc) · 5.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
---
name: "Java Spring (Boot + MVC + CloudFeign) Server"
genTemplateId: "com.modelsolv.reprezen.gentemplates.openapi.generator.SpringCodegen"
relativeOutputDir: ../../../implementation/springboot-petstore-demo
prerequisites: null
primarySource:
path: "../../../models/petstore-expanded.yaml"
namedSources: null
# The parameters object contains variables that are processed directly by the GenTemplate.
parameters:
# Sort method arguments to place required parameters before optional parameters.
sortParamsByRequiredFlag: null
# Whether to ensure parameter names are unique in an operation (rename parameters that are not).
ensureUniqueParams: null
# boolean, toggles whether unicode identifiers are allowed in names or not, default is false
allowUnicodeIdentifiers: null
# Add form or body parameters to the beginning of the parameter list.
prependFormOrBodyParameters: null
# package for generated models
modelPackage: com.reprezen.demo.springboot.model
# package for generated api classes
apiPackage: com.reprezen.demo.springboot.api
# root package for generated code
invokerPackage: com.reprezen.demo.springboot
# groupId in generated pom.xml
groupId: com.reprezen.demo
# artifactId in generated pom.xml
artifactId: petstore-demo
# artifact version in generated pom.xml
artifactVersion: null
# artifact URL in generated pom.xml
artifactUrl: null
# artifact description in generated pom.xml
artifactDescription: "Demontration of the Contract-as-Code approach with Spring Boot artifacts generated from an OpenAPI3 doc"
# SCM connection in generated pom.xml
scmConnection: null
# SCM developer connection in generated pom.xml
scmDeveloperConnection: null
# SCM URL in generated pom.xml
scmUrl: null
# developer name in generated pom.xml
developerName: null
# developer email in generated pom.xml
developerEmail: null
# developer organization in generated pom.xml
developerOrganization: null
# developer organization URL in generated pom.xml
developerOrganizationUrl: null
# The name of the license
licenseName: null
# The URL of the license
licenseUrl: null
# source folder for generated code
sourceFolder: null
# prefix for generated code members and local variables
localVariablePrefix: null
# boolean - toggle "implements Serializable" for generated models
serializableModel: null
# Treat BigDecimal values as Strings to avoid precision loss.
bigDecimalAsString: null
# whether to use fully qualified name for classes under java.util. This option only works for Java API client
fullJavaUtil: null
# hides the timestamp when files were generated
hideGenerationTimestamp: true
# whether to include support for application/xml content type and include XML annotations in the model (works with libraries that provide support for JSON and XML)
withXml: null
# Option. Date library to use
dateLibrary: null
# Option. Use Java8 classes instead of third party equivalents
java8: false
# server title name or client service name
title: null
# configuration package for generated code
configPackage: com.reprezen.demo.springboot.swaggerui
# base package (invokerPackage) for generated code
basePackage: com.reprezen.demo.springboot
# Whether to generate only API interface stubs without the server files.
interfaceOnly: false
# Whether to generate the server files using the delegate pattern
delegatePattern: true
# Whether to select only one produces/consumes content-type by operation.
singleContentTypes: null
# use async Callable controllers
async: null
# wrap responses in Mono/Flux Reactor types (spring-boot only)
reactive: null
# wrap the responses in given type (Future,Callable,CompletableFuture,ListenableFuture,DeferredResult,HystrixCommand,RxObservable,RxSingle or fully qualified type)
responseWrapper: null
# use tags for creating interface and controller classnames
useTags: null
# Use BeanValidation API annotations
useBeanValidation: null
# Use of @ApiImplicitParams for headers.
implicitHeaders: null
# Generate Spring OpenAPI Docket configuration class.
swaggerDocketConfig: null
# Use Optional container for optional parameters
useOptional: null
# library template (sub-template) to use
library: null
# Contents of OpenAPI Generator configuration file.
# This is the file that would be passed with --config option on OpenAPI Generator commandline.
# The JSON contents of that file should be the value of this parameter.
# This parameter need not be used. If it is absent, all string-valued parameters are collected into
# a map that is then passed to the OpenAPI Generator module. If a map is provided here, then string-valued
# parameters are still copied in, overriding like-named values appearing in the map.
openApiCodegenConfig:
hideGenerationTimestamp: true
delegatePattern: true
# the java8 option generates default methods in interfaces which. Because of it, unimplemented methods in interface implementations will NOT be detected by the compiler.
java8: false
# System properties to set, as in the -D option of OpenAPI Generatorcommand line.
# Each property should be a json object with a name/value pair for each property.
# Example: for '-Dmodels -Dapis=User,Pets' use the following:
# value:
# models: ''
# apis: Users,Pets
openApiCodegenSystemProperties: null