RubyGems Navigation menu

openapi_blocks 0.6.0

Generates OpenAPI specs automatically from ActiveRecord models, ActiveModel validations and Rails routes. Includes a built-in serializer ~3.6x faster than as_json, Scalar and Swagger UI out of the box, and optional auto-serialization via render json:. Inspired by ActiveModel::Serializer.

Gemfile:
=

install:
=

Versions:

  1. 0.6.0 June 03, 2026 (28 KB)
  2. 0.5.0 June 02, 2026 (27.5 KB)
  3. 0.4.1 June 02, 2026 (26 KB)
  4. 0.3.1 June 02, 2026 (23.5 KB)
  5. 0.3.0 June 02, 2026 (23.5 KB)
Show all versions (7 total)

Runtime Dependencies (2):

oj >= 3.0
rails >= 7.0

Development Dependencies (6):

actionpack >= 7.0
activemodel >= 7.0
activerecord >= 7.0
railties >= 7.0
rspec-rails ~> 6.0
sqlite3 ~> 2.1

Owners:

Pushed by:

Authors:

  • Caio Santos

SHA 256 checksum:

=

Total downloads 908

For this version 161

Version Released:

License:

MIT

Required Ruby Version: >= 3.2.0

New versions require MFA: true

Version published with MFA: true

Links: