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
+48-9Lines changed: 48 additions & 9 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
@@ -133,7 +157,7 @@ You can look at `modules/swagger-codegen/src/main/resources/${your-language}` fo
133
157
If you're starting a project with a new language and don't see what you need, swagger-codegen can help you create a project to generate your own libraries:
134
158
135
159
```
136
-
java -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar meta \
160
+
java -jar modules/swagger-codegen-distribution/target/swagger-codegen-cli.jar meta \
@@ -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
@@ -174,17 +203,20 @@ PhpClientCodegen.java
174
203
Python3ClientCodegen.java
175
204
PythonClientCodegen.java
176
205
Qt5CPPGenerator.java
177
-
RetrofitClientCodegen.java
178
206
RubyClientCodegen.java
179
207
ScalaClientCodegen.java
180
208
ScalatraServerCodegen.java
209
+
SilexServerCodegen.java
210
+
SinatraServerCodegen.java
181
211
SpringMVCServerCodegen.java
182
212
StaticDocCodegen.java
183
213
StaticHtmlGenerator.java
184
214
SwaggerGenerator.java
185
215
SwaggerYamlGenerator.java
186
-
SwiftGenerator.java
216
+
SwiftCodegen.java
187
217
TizenClientCodegen.java
218
+
TypeScriptAngularClientCodegen.java
219
+
TypeScriptNodeClientCodegen.java
188
220
```
189
221
190
222
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 +258,13 @@ CONFIG OPTIONS
226
258
227
259
sourceFolder
228
260
source folder for generated code
261
+
262
+
library
263
+
library template (sub-template) to use:
264
+
<default> - HTTP client: Jersey client 1.18. JSON processing: Jackson 2.4.2
0 commit comments