openapi-generator/samples/server/petstore/rails5
2018-05-08 16:44:51 +08:00
..
.openapi-generator Rename "swagger" to "openapi" (#191) 2018-04-22 21:28:17 +02:00
app Regenerate samples (#367) 2018-05-08 16:44:51 +08:00
bin updated to place environment files in the correct location (#5168) 2017-04-24 18:37:37 +08:00
config Regenerate samples (#367) 2018-05-08 16:44:51 +08:00
db Regenerate samples (#367) 2018-05-08 16:44:51 +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
.openapi-generator-ignore Regenerate samples (#367) 2018-05-08 16:44:51 +08:00
config.ru Add Rails5 sample 2016-05-15 00:25:00 +08:00
Gemfile [Rails5] make version of the generated Rails stub server to strict Rails 5.0 (#7700) 2018-02-22 15:57:14 +08:00
Rakefile Add Rails5 sample 2016-05-15 00:25:00 +08:00
README.md Update default value for Perl, Ruby, ROR generators (#265) 2018-04-29 20:37:12 +08:00

OpenAPI for Rails 5

This is a project to provide OpenAPI 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 openapi-generator project.

bin/rake db:create db:migrate
bin/rails s

To list all your routes, use:

bin/rake routes