~/talk

Automating Empathy: Test Your Docs with Swagger and Apivore

Talkat RailsConf 2018 Β· 2018-04-17..04-19Β· [ruby-on-rails, web-platform]
slides:none on file

Claim: API docs become executable tests that force code to match description. Workflow uses Swagger/OpenAPI for machine readable docs and Apivore to run spec checks, producing failing tests, then implementing just enough code. Pilot takes 29 days and 18 PRs, adds ~1800 lines and deletes ~2700, uncovers mis-scoped permissions, incorrect status codes, stray timestamps and unused endpoints, and yields a doc-first process that turns documentation mismatches into concrete bugs to fix.

AI-written summary Β· about

  1. 0:00Introduction
  2. 0:55Documentation
  3. 3:00Usage Documentation
  4. 5:52Human Error
  5. 9:18Guilt
  6. 11:22Documentation Driven Development
  7. 17:06Swagger
  8. 19:22API Organization
  9. 31:37Errors
  10. 33:05caveats
  11. 33:59convincing your manager
  12. 35:53fixing the API
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.