forked from loafle/openapi-generator-original
26 lines
454 B
Markdown
26 lines
454 B
Markdown
# Swagger for Rails 5
|
|
|
|
This is a project to provide Swagger support inside the [Ruby on Rails](http://rubyonrails.org/) framework.
|
|
|
|
## Prerequisites
|
|
You need to install ruby >= 2.2.2 and run:
|
|
|
|
```
|
|
bundle install
|
|
```
|
|
|
|
## Getting started
|
|
|
|
This sample was generated with the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project.
|
|
|
|
```
|
|
bin/rake db:create db:migrate
|
|
bin/rails s
|
|
```
|
|
|
|
To list all your routes, use:
|
|
|
|
```
|
|
bin/rake routes
|
|
```
|