openapi-generator/samples/server/petstore/ruby-on-rails
2018-08-02 22:07:09 +08:00
..
.openapi-generator add option to select db adapter in ror (#711) 2018-08-02 13:52:34 +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 add dockerfile for ror, fix template issue (#718) 2018-08-02 22:07:09 +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
docker-entrypoint.sh add dockerfile for ror, fix template issue (#718) 2018-08-02 22:07:09 +08:00
Dockerfile add dockerfile for ror, fix template issue (#718) 2018-08-02 22:07:09 +08:00
Gemfile add dockerfile for ror, fix template issue (#718) 2018-08-02 22:07:09 +08:00
pom.xml add dockerfile for ror, fix template issue (#718) 2018-08-02 22:07:09 +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