openapi-generator/samples/server/petstore/rails5
wing328 88227e08e3 Remove Apache license from server stub generators (#4200)
* remove php apache license

* remove license in sample code, update nodejs to use unlicnese

* remove license from jaxrs generator

* remove license from server generator

* update pom.xml for jaxrs resteasy joda server
2016-11-17 00:37:21 +08: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 Add model & migrate support 2016-06-09 18:40:01 +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 db:migrate
bin/rails s

To list all your routes, use:

bin/rake routes