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
Copy file name to clipboardExpand all lines: README.md
+45-7Lines changed: 45 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,15 +7,34 @@ This is the swagger codegen project, which allows generation of client libraries
7
7
8
8
Check out [Swagger-Spec](https://github.com/swagger-api/swagger-spec) for additional information about the Swagger project, including additional libraries with support for other languages and more.
The Swagger Specification has undergone 3 revisions since initial creation in 2010. The swagger-codegen project has the following compatibilies with the swagger specification:
13
31
14
-
Swagger Codegen Version | Release Date | Swagger Spec compatibility | Notes
specifies if the existing files should be overwritten during
131
+
the generation
132
+
```
109
133
110
134
You can then compile and run the client, as well as unit tests against it:
111
135
@@ -161,11 +185,16 @@ There are different aspects of customizing the code generator beyond just creati
161
185
162
186
```
163
187
$ ls -1 modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/
188
+
AbstractTypeScriptClientCodegen.java
164
189
AkkaScalaClientCodegen.java
165
190
AndroidClientCodegen.java
166
191
AsyncScalaClientCodegen.java
167
192
CSharpClientCodegen.java
193
+
CodeGenStatus.java
194
+
CsharpDotNet2ClientCodegen.java
195
+
FlashClientCodegen.java
168
196
JavaClientCodegen.java
197
+
JavaInflectorServerCodegen.java
169
198
JaxRSServerCodegen.java
170
199
NodeJSServerCodegen.java
171
200
ObjcClientCodegen.java
@@ -178,13 +207,17 @@ RetrofitClientCodegen.java
178
207
RubyClientCodegen.java
179
208
ScalaClientCodegen.java
180
209
ScalatraServerCodegen.java
210
+
SilexServerCodegen.java
211
+
SinatraServerCodegen.java
181
212
SpringMVCServerCodegen.java
182
213
StaticDocCodegen.java
183
214
StaticHtmlGenerator.java
184
215
SwaggerGenerator.java
185
216
SwaggerYamlGenerator.java
186
-
SwiftGenerator.java
217
+
SwiftCodegen.java
187
218
TizenClientCodegen.java
219
+
TypeScriptAngularClientCodegen.java
220
+
TypeScriptNodeClientCodegen.java
188
221
```
189
222
190
223
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.
@@ -226,6 +259,11 @@ CONFIG OPTIONS
226
259
227
260
sourceFolder
228
261
source folder for generated code
262
+
263
+
library
264
+
library template (sub-template) to use:
265
+
<default> - HTTP client: Jersey client 1.18. JSON processing: Jackson 2.4.2
0 commit comments