~/talk

Fake It Before You Make It: Mocking Your Way to Better HTTP APIs

Talkat PyOhio 2016 · 2016-07-30..07-31· [api-design, testing]
slides:none on file

Proposes a design‑first workflow that uses OpenAPI/Swagger, RAML or API Blueprint plus JSON Schema to publish HTML docs, generate server stubs and run a live mock server so clients exercise expected requests and responses before implementation. Shows a runnable Flask implementation and a mock server that returns schema‑based sample payloads, updates on spec change, and a validation script (using ramification) that compares spec resources to implemented endpoints and flags missing routes.

AI-written summary · about

  1. 0:00Introduction
  2. 0:49Terminology
  3. 3:15The Idea
  4. 5:19API Specification
  5. 6:56Swagger
  6. 9:08Rammell
  7. 11:24API Blueprint
  8. 12:45Differences
  9. 15:56Mocking
  10. 16:36Cogeneration
  11. 18:58Demo
  12. 30:44Python Support
~/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.