A Ruby gem that generates OpenAPI 3.0 documentation from Minitest integration tests in Rails applications. Uses serializers as the single source of truth for response schemas.
API documentation generator based on the OpenAPI spec.
rc-minitest-openapi turns Rails minitest integration tests into the source of truth for an OpenAPI 3.0 document. Tests declare each operation and its response schema, the live response is validated against that schema as the suite runs, and the openapi:generate rake task writes the document. An rswag-style block DSL and plain helper methods are both supported.
A mountable Rails engine that serves the OpenAPI document produced by rc-minitest-openapi at a configurable route.
A mountable Rails engine that renders Swagger UI for an OpenAPI document, intended to pair with rc-minitest-openapi and rc-minitest-openapi-api.