RubyGems Navigation menu

rails_contract_sync 0.2.0

RailsContractSync produces and maintains a single committed openapi.yml for a Rails JSON API by combining static route/strong-params introspection with runtime observation of real responses via a Rack middleware. The result is idempotent, preserves hand-written documentation, and is serializer-agnostic.

Gemfile:
=

install:
=

Versions:

  1. 0.2.0 June 18, 2026 (12.5 KB)

Runtime Dependencies (3):

prism >= 0.24
rack >= 2.2
railties >= 7.0

Development Dependencies (3):

rack-test ~> 2.1
rails >= 7.0
rspec ~> 3.13

Owners:

Pushed by:

Authors:

  • dani

SHA 256 checksum:

=

Total downloads 197

For this version 197

Version Released:

License:

MIT

Required Ruby Version: >= 3.2.0

New versions require MFA: true

Version published with MFA: true

Links: