You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Path to json configuration file. File content should be in a json
85
+
format {"optionKey":"optionValue", "optionKey1":"optionValue1"...}
86
+
Supported options can be different for each language. Run
87
+
config-help -l {lang} command for language specific config options.
88
+
89
+
-D <system properties>
90
+
sets specified system properties in the format of
91
+
name=value,name=value
92
+
81
93
-i <spec file>, --input-spec <spec file>
82
94
location of the swagger spec, as URL or file (required)
83
95
@@ -148,16 +160,21 @@ Great for creating libraries on your ci server, from the [Swagger Editor](http:/
148
160
There are different aspects of customizing the code generator beyond just creating or modifying templates. Each language has a supporting configuration file to handle different type mappings, etc:
149
161
150
162
```
151
-
$ ls -1 modules/swagger-codegen/src/main/java/com/wordnik/swagger/codegen/languages/
163
+
$ ls -1 modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/
164
+
AkkaScalaClientCodegen.java
152
165
AndroidClientCodegen.java
153
166
AsyncScalaClientCodegen.java
154
167
CSharpClientCodegen.java
155
168
JavaClientCodegen.java
156
169
JaxRSServerCodegen.java
157
170
NodeJSServerCodegen.java
158
171
ObjcClientCodegen.java
172
+
PerlClientCodegen.java
159
173
PhpClientCodegen.java
174
+
Python3ClientCodegen.java
160
175
PythonClientCodegen.java
176
+
Qt5CPPGenerator.java
177
+
RetrofitClientCodegen.java
161
178
RubyClientCodegen.java
162
179
ScalaClientCodegen.java
163
180
ScalatraServerCodegen.java
@@ -166,17 +183,70 @@ StaticDocCodegen.java
166
183
StaticHtmlGenerator.java
167
184
SwaggerGenerator.java
168
185
SwaggerYamlGenerator.java
186
+
SwiftGenerator.java
169
187
TizenClientCodegen.java
170
188
```
171
189
172
-
Each of these files creates reasonable defaults so you can get running quickly. But if you want to configure package names, prefixes, model folders, etc., you may want to extend these.
190
+
Each of these files creates reasonable defaults so you can get running quickly. But if you want to configure package names, prefixes, model folders, etc. you can use a json config file to pass the values.
0 commit comments