# JSONAPI Swagger Generate JSONAPI Swagger Doc. [![Gem Version](https://img.shields.io/gem/v/jsonapi-swagger.svg)](https://rubygems.org/gems/jsonapi-swagger) [![GitHub license](https://img.shields.io/github/license/superiorlu/jsonapi-swagger.svg)](https://github.com/superiorlu/jsonapi-swagger/blob/master/LICENSE) ## 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 ``` ## Resource - [JSONAPI](https://jsonapi.org/) - [JSONAPI::Resources](http://jsonapi-resources.com/) - [Rswag](https://github.com/domaindrivendev/rswag) ## Contributing Bug reports and pull requests are welcome on GitHub at https://github.com/superiorlu/jsonapi-swagger.