openapi-generator/samples/server/petstore/rails5
Paŭlo Ebermann 4b9988c4f2 Update samples for several language (just whitespace changes, reordering, VERSION) (#5828)
* Update samples for several languages.

Just whitespace changes and some reordering where the order doesn't matter.

* Adding generated .swagger-codegen/VERSION files.
2017-06-14 01:17:31 +08:00
..
.swagger-codegen Update samples for several language (just whitespace changes, reordering, VERSION) (#5828) 2017-06-14 01:17:31 +08:00
app updated to fix issue #5053 (#5057) 2017-04-24 18:16:10 +08:00
bin updated to place environment files in the correct location (#5168) 2017-04-24 18:37:37 +08:00
config updated to place environment files in the correct location (#5168) 2017-04-24 18:37:37 +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 updated to place environment files in the correct location (#5168) 2017-04-24 18:37:37 +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
Rakefile Add Rails5 sample 2016-05-15 00:25:00 +08:00
README.md Update samples for Ruby-Client + Rails server. (#5214) 2017-03-27 13:27:13 +08: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