openapi-generator/samples/server/petstore/rails5
Paŭlo Ebermann 3a48ba8bfd Update all the samples.
(except clojure + scalatra, because those are broken, will fixed with later master merge.)
2017-03-13 19:50:10 +01:00
..
app Remove Apache license from server stub generators (#4200) 2016-11-17 00:37:21 +08:00
bin Add Rails5 sample 2016-05-15 00:25:00 +08:00
config Remove Apache license from server stub generators (#4200) 2016-11-17 00:37:21 +08:00
db Remove Apache license from server stub generators (#4200) 2016-11-17 00:37:21 +08:00
lib/tasks Add Rails5 sample 2016-05-15 00:25:00 +08:00
log Add Rails5 sample 2016-05-15 00:25:00 +08:00
public Add Rails5 sample 2016-05-15 00:25:00 +08:00
test Add Rails5 sample 2016-05-15 00:25:00 +08:00
tmp Add Rails5 sample 2016-05-15 00:25:00 +08:00
vendor Add Rails5 sample 2016-05-15 00:25:00 +08:00
.swagger-codegen-ignore Spelling fixes 2016-08-27 02:34:33 +03:00
config.ru Add Rails5 sample 2016-05-15 00:25:00 +08:00
Gemfile Add Rails5 sample 2016-05-15 00:25:00 +08:00
Gemfile.lock Add Rails5 sample 2016-05-15 00:25:00 +08:00
Rakefile Add Rails5 sample 2016-05-15 00:25:00 +08:00
README.md Update all the samples. 2017-03-13 19:50:10 +01:00

Swagger for Rails 5

This is a project to provide Swagger 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 the swagger-codegen project.

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

To list all your routes, use:

bin/rake routes