This commit is contained in:
wing328 2017-11-16 17:10:16 +08:00
commit c6ffbd38ad

View File

@ -98,6 +98,8 @@ wget http://central.maven.org/maven2/io/swagger/swagger-codegen-cli/2.2.3/swagge
java -jar swagger-codegen-cli.jar help java -jar swagger-codegen-cli.jar help
``` ```
For Windows users, you will need to install [wget](http://gnuwin32.sourceforge.net/packages/wget.htm) or you can use Invoke-WebRequest in PowerShell (3.0+), e.g. `Invoke-WebRequest -OutFile swagger-codegen-cli.jar http://central.maven.org/maven2/io/swagger/swagger-codegen-cli/2.2.3/swagger-codegen-cli-2.2.3.jar`
On a mac, it's even easier with `brew`: On a mac, it's even easier with `brew`:
```sh ```sh
brew install swagger-codegen brew install swagger-codegen