rswag/rswag
Some data may be outdated — see provenance labels.
Seamlessly adds a Swagger to Rails-based API's observed · 2026-09-27
Health v2 · maintenance only
67/100
- Activity 91
- Release rhythm 16
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 357
- age_days: 4299
- days_rel: 349
- days_push: 57
- n_releases_24m: 2
Adoption not part of the score
2202 stars · 454 forks observed · 2026-09-27
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Rswag extends rspec-rails request specs with a Swagger-based DSL for describing and testing Rails API operations, then generates OpenAPI (Swagger) files from passing tests. It also embeds swagger-ui so the generated documentation can be explored and tested from a browser.
Use cases
- generate OpenAPI documentation from Rails rspec tests
- document a Rails API with Swagger
- test API endpoints and produce living documentation
- serve swagger-ui for a Rails API
- export API spec as JSON or YAML endpoints
- keep API docs in sync with integration tests
When to choose
- you have a Rails API tested with rspec request specs and want auto-generated OpenAPI docs
- you want documentation that is validated by your test suite
- you want an embedded swagger-ui powered by your spec files
When to avoid
- your API is not Rails/Ruby-based
- you prefer generating specs from an OpenAPI file rather than the reverse
- you don't use rspec
Facets
library · maturity active
testing api-framework api-documentation documentation web-development backend apis documentation testing ruby rails rspec openapi swagger-ui api-documentation web-server
1 source
- readme: https://github.com/rswag/rswag · fetched 2026-09-27 · 4dde43f1c059
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| rswag/rswag | main | 67 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem