forked from loafle/openapi-generator-original
Set version dynamically in ruby codegen
Conflicts: modules/swagger-codegen/src/main/resources/ruby/swagger/version.mustache samples/client/petstore/ruby/lib/swagger/version.rb
This commit is contained in:
parent
194e9e6f05
commit
87904e8b69
@ -11,14 +11,14 @@ gem build swagger-client.gemspec
|
||||
Then you can either install the gem:
|
||||
|
||||
```shell
|
||||
gem install ./swagger-client-4.06.08.gem
|
||||
gem install ./swagger-client-1.0.0.gem
|
||||
```
|
||||
|
||||
or publish the gem to a gem server like [RubyGems](https://rubygems.org/).
|
||||
|
||||
Finally add this to your Gemfile:
|
||||
|
||||
gem 'swagger-client', '~> 4.06.08'
|
||||
gem 'swagger-client', '~> 1.0.0'
|
||||
|
||||
### Host as a git repository
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user