rc-minitest-openapi-api
A mountable Rails engine that serves the OpenAPI document generated by
rc-minitest-openapi.
# config/routes.rb
mount Minitest::OpenAPI::Api::Engine => "/api-docs"
# config/initializers/minitest_openapi.rb
Minitest::OpenAPI::Api.configure { |c| c.document_path = "openapi/v1/openapi.json" }
See the repository README for full documentation.
License
MIT