~/talk

Rswag: Automated API Documentation

Talkat RubyConf 2021 · 2021-11-08..11-10· [ruby, ruby-on-rails]
github:snreid
slides:none on file

Shows how rswag plugs into Rails specs and runs specs to generate an OpenAPI schema, then swaggerize writes swagger.yaml that reflects real responses. Demonstrates that tests execute real HTTP requests and captures real HTTP responses into examples, lets CI fail when docs drift, and drives a Swagger UI that can execute requests, generate mock servers and client code, validate JSON schemas, and handle auth. Practical demo includes adding/removing a field and immediately updating docs.

AI-written summary · about

  1. 0:00Start
  2. 7:50Our Documentation Struggle
  3. 9:25Criteria for Improvement
  4. 13:53Example: GET /articles
  5. 18:54Anatomy of an Rswag Spec
  6. 28:13Advanced Features
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.