openapi-generator/samples/server/petstore/ruby-on-rails
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
..
.openapi-generator [Ruby] Rename files/folders (#534) 2018-07-13 22:28:17 +08:00
app [Ruby] Rename files/folders (#534) 2018-07-13 22:28:17 +08:00
bin [Ruby] Rename files/folders (#534) 2018-07-13 22:28:17 +08:00
config [Ruby] Rename files/folders (#534) 2018-07-13 22:28:17 +08:00
db [Ruby] Rename files/folders (#534) 2018-07-13 22:28:17 +08:00
lib/tasks [Ruby] Rename files/folders (#534) 2018-07-13 22:28:17 +08:00
log [Ruby] Rename files/folders (#534) 2018-07-13 22:28:17 +08:00
public [Ruby] Rename files/folders (#534) 2018-07-13 22:28:17 +08:00
test [Ruby] Rename files/folders (#534) 2018-07-13 22:28:17 +08:00
tmp [Ruby] Rename files/folders (#534) 2018-07-13 22:28:17 +08:00
vendor [Ruby] Rename files/folders (#534) 2018-07-13 22:28:17 +08:00
.openapi-generator-ignore [Ruby] Rename files/folders (#534) 2018-07-13 22:28:17 +08:00
config.ru [Ruby] Rename files/folders (#534) 2018-07-13 22:28:17 +08:00
Gemfile [Ruby] Rename files/folders (#534) 2018-07-13 22:28:17 +08:00
Rakefile [Ruby] Rename files/folders (#534) 2018-07-13 22:28:17 +08:00
README.md [Ruby] Rename files/folders (#534) 2018-07-13 22:28:17 +08:00

OpenAPI for Rails 5

This is a project to provide OpenAPI support inside the Ruby on Rails framework.

Prerequisites

You need to install ruby >= 2.2.2 and run:

bundle install

Getting started

This sample was generated with openapi-generator project.

bin/rake db:create db:migrate
bin/rails s

To list all your routes, use:

bin/rake routes