openapi-generator/samples/server/petstore/rails5
2016-06-07 15:15:20 +08:00
..
app Add LICENSE into rails5 2016-05-30 21:38:59 +08:00
bin Add Rails5 sample 2016-05-15 00:25:00 +08:00
config Add LICENSE into rails5 2016-05-30 21:38:59 +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
.swagger-codegen-ignore Add LICENSE into rails5 2016-05-30 21:38:59 +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
LICENSE replaced global license file with default LICENSE 2016-06-07 15:15:20 +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