Better instruction for Windows users

This commit is contained in:
William Cheng 2017-11-16 17:08:16 +08:00 committed by GitHub
parent 85b0d0ff78
commit 0c0da42d33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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