update brew readme (#330)

This commit is contained in:
William Cheng
2018-06-16 21:21:18 +08:00
committed by GitHub
parent 6c996a7d1a
commit e5635d236d

View File

@@ -179,13 +179,15 @@ If you don't have maven installed, you may directly use the included [maven wrap
### [1.5 - Homebrew](#table-of-contents)
To install, run `brew install openapi-generator` (the new brew formula is pending https://github.com/Homebrew/homebrew-core/pull/28584)
To install, run `brew install openapi-generator`
Here is an example usage to generate a Ruby client:
```sh
openapi-generator generate -i https://raw.githubusercontent.com/openapitools/openapi-generator/master/modules/openapi-generator/src/test/resources/2_0/petstore.yaml -g ruby -o /tmp/test/
```
To reinstall with the latest master, run `brew reinstall --HEAD openapi-generator`
### [1.6 - Docker](#table-of-contents)
#### Public Pre-built Docker images