openapi-generator/samples/server/petstore/rails5/README.md
2016-06-09 18:40:01 +08:00

448 B

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 db:migrate
bin/rails s

To list all your routes, use:

bin/rake routes