Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 762 Bytes

README.md

File metadata and controls

27 lines (17 loc) · 762 Bytes

Rails Hello OpenAPI

A quick "Hello World" but for generating OpenAPI, using the Ruby on Rails extension RSwag.

This repository was built as sample code for the Bump.sh guide on Generating OpenAPI docs for Ruby on Rails with RSwag.

Usage

Clone the repository down to give it a try.

# Set everything up
$ bundle install

# Export the OpenAPI
$ rake rswag

# Take a look at the generated OpenAPI
cat swagger/api/swagger.yaml

Preview the API reference docs on Bump.sh.

License

The contents of this repository are licensed under CC BY-NC-SA 4.0.