Nathan Baulch
|
9f1fa0e440
|
Fix another batch of spelling typos (#13915)
* Fix typos
* Remove repeated words
* Minor grammar fixes
|
2022-11-07 21:30:24 +08:00 |
|
William Cheng
|
92561085ba
|
update ruby sinatra samples
|
2021-04-21 16:00:23 +08:00 |
|
Akihito Nakano
|
afb238814d
|
[Ruby] Abstract Ruby Codegen (#562)
* Add AbstractRubyCodegen
* Refactor constructor
* Move escapeReservedWord() to AbstractRubyCodegen
* Move getTypeDeclaration() to AbstractRubyCodegen
* Move toDefaultValue() to AbstractRubyCodegen
* Move toVarName() to AbstractRubyCodegen
* Move toParamName() to AbstractRubyCodegen
* Move toOperationId() to AbstractRubyCodegen
* Move escapeQuotationMark() to AbstractRubyCodegen
* Move escapeUnsafeCharacters() to AbstractRubyCodegen
* Use super.escapeReservedWord()
* RubyClientCodegen extends AbstractRubyCodegen
* Add the differences with AbstractRubyCodegen to "reservedWords"
* cliOptions.clear() is not a language specific matter
- Rails, Sinatra requires cliOptions.clear()
- Ruby client doesn't requires that
* Remove duplicated statements with AbstractRubyCodegen
* Remove duplicated methods with AbstractRubyCodegen
* Merge toVarName() into AbstractRubyCodegen
* Merge getTypeDeclaration() into AbstractRubyCodegen
* Merge toDefaultValue() into AbstractRubyCodegen
* Update Ruby related samples
- bin/ruby-client-petstore.sh
- bin/ruby-on-rails-server-petstore.sh
- bin/ruby-sinatra-server-petstore.sh
* Remove unnecessary 'import'
* Avoid unnecessary HTML escaping
|
2018-07-17 09:08:42 +08:00 |
|
Akihito Nakano
|
26e70fe642
|
[Ruby] Rename files/folders (#534)
* Rename templateDir: rails5 -> ruby-on-rails-server
* Rename script: rails5-petstore-server.sh -> ruby-on-rails-server-petstore.sh
* Rename sample folder: rails5 -> ruby-on-rails
* Rename script(openapi3): rails5-petstore-server.sh -> ruby-on-rails-server-petstore.sh
* Update ruby-on-rails-server-petstore.sh
* Rename templateDir: sinatra -> ruby-sinatra-server
* Rename script: sinatra-petstore-server.sh -> ruby-sinatra-server-petstore.sh
* Rename sample folder: sinatra -> ruby-sinatra
* Update script
* Rename templateDir: ruby -> ruby-client
* Rename script: ruby-petstore.sh -> ruby-client-petstore.sh
* Update scripts
* Update samples
- bin/ruby-sinatra-server-petstore.sh
- bin/ruby-on-rails-server-petstore.sh
- bin/ruby-client-petstore.sh
- bin/security/ruby-client-petstore.sh
|
2018-07-13 22:28:17 +08:00 |
|