forked from loafle/openapi-generator-original
Add batch file for running on Windows, update JS client
This commit is contained in:
parent
c5a48d9891
commit
b40ee50167
@ -117,6 +117,8 @@ You can build a client against the swagger sample [petstore](http://petstore.swa
|
|||||||
./bin/java-petstore.sh
|
./bin/java-petstore.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
(On Windows, run `./bin/windows/java-petstore.bat` instead)
|
||||||
|
|
||||||
This will run the generator with this command:
|
This will run the generator with this command:
|
||||||
|
|
||||||
```
|
```
|
||||||
@ -217,6 +219,7 @@ See our [javascript library](http://github.com/swagger-api/swagger-js)--it's com
|
|||||||
static code generation.
|
static code generation.
|
||||||
There is a third-party component called [swagger-js-codegen](https://github.com/wcandillon/swagger-js-codegen) that can generate angularjs or nodejs source code from a swagger specification.
|
There is a third-party component called [swagger-js-codegen](https://github.com/wcandillon/swagger-js-codegen) that can generate angularjs or nodejs source code from a swagger specification.
|
||||||
|
|
||||||
|
:exclamation: On Dec 7th 2015, a Javascript API client generator has been added by @jfiala.
|
||||||
|
|
||||||
### Generating a client from local files
|
### Generating a client from local files
|
||||||
If you don't want to call your server, you can save the swagger spec files into a directory and pass an argument
|
If you don't want to call your server, you can save the swagger spec files into a directory and pass an argument
|
||||||
@ -276,6 +279,7 @@ FlashClientCodegen.java
|
|||||||
FlaskConnexionCodegen.java
|
FlaskConnexionCodegen.java
|
||||||
JavaClientCodegen.java
|
JavaClientCodegen.java
|
||||||
JavaInflectorServerCodegen.java
|
JavaInflectorServerCodegen.java
|
||||||
|
JavascriptClientCodegen.java
|
||||||
JaxRSServerCodegen.java
|
JaxRSServerCodegen.java
|
||||||
NodeJSServerCodegen.java
|
NodeJSServerCodegen.java
|
||||||
ObjcClientCodegen.java
|
ObjcClientCodegen.java
|
||||||
@ -288,6 +292,7 @@ ScalaClientCodegen.java
|
|||||||
ScalatraServerCodegen.java
|
ScalatraServerCodegen.java
|
||||||
SilexServerCodegen.java
|
SilexServerCodegen.java
|
||||||
SinatraServerCodegen.java
|
SinatraServerCodegen.java
|
||||||
|
SlimFrameworkServerCodegen.java
|
||||||
SpringMVCServerCodegen.java
|
SpringMVCServerCodegen.java
|
||||||
StaticDocCodegen.java
|
StaticDocCodegen.java
|
||||||
StaticHtmlGenerator.java
|
StaticHtmlGenerator.java
|
||||||
|
Loading…
x
Reference in New Issue
Block a user