openapi-generator/samples/server/petstore/rails5
2016-05-15 11:53:54 +08:00
..
app Add Rails5 sample 2016-05-15 00:25:00 +08:00
bin Add Rails5 sample 2016-05-15 00:25:00 +08:00
config change better method call 2016-05-15 11:53:54 +08:00
db Add Rails5 sample 2016-05-15 00:25:00 +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
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 Add Rails5 sample 2016-05-15 00:25:00 +08:00

Swagger for Rails 5

This is a project to provide Swagger support inside the Sinatra 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
bin/rails s

To list all your routes, use:

bin/rake routes