OpenAPI

CRUD interface for Rails models with OpenAPI (Swagger) specification support and Swagger UI integration.

Installation

Add to your Gemfile:

gem 'openapi'

For new projects we recommend to run generator to create basic setup:

rake g openapi:config

Usage

CSV

Default Index

  • _id

Customization

  • json
  • has_scope
  • per_page
  • resource_class

Custom Actions

  • warning
  • building spec for custom actions

Multiple APIs

  • configuration options

Authors

  • Alexander Kravets
  • Denis Popov

Slate Studio