mirror of
https://github.com/ditkrg/jsonapi-swagger.git
synced 2026-01-22 22:06:50 +00:00
30 lines
451 B
Markdown
30 lines
451 B
Markdown
# JSONAPI Swagger
|
|
|
|
Create a JSONAPI Swagger.
|
|
|
|
## Installation
|
|
|
|
Add this line to your application's Gemfile:
|
|
|
|
```ruby
|
|
gem 'jsonapi-swagger'
|
|
```
|
|
|
|
And then execute:
|
|
|
|
$ bundle
|
|
|
|
Or install it yourself as:
|
|
|
|
$ gem install jsonapi-swagger
|
|
|
|
## Usage
|
|
|
|
```sh
|
|
rails generate jsonapi:swagger User # UserResponse < JSONAPI::Resource
|
|
```
|
|
|
|
## Contributing
|
|
|
|
Bug reports and pull requests are welcome on GitHub at https://github.com/superiorlu/jsonapi-swagger.
|