~/talk

API Code First vs Design First

Talkat apidays New York 2020 · 2020-07-28..07-29· [api-design, developer-experience]
slides:none on file

Argues that open api design‑first then evolve‑with‑code beats ad‑hoc code‑first: use OpenAPI to generate mock servers and docs, reuse the YAML for request validation (Committee/Dredd‑style middleware) and keep one source of truth. Reports a 300‑person poll with 35.5% mixed workflows, ~20–21% fully design‑first and ~20% adopting it. Describes a built prototype that clones repos, converts specs to OpenAPI v3, creates mocks, reference docs, SDKs and Postman collections — it works and drastically reduces wasted coding.

AI-written summary · about

  1. 0:00Start
  2. 5:59ANNOTATIONS OR YAML?
  3. 8:08CODE FIRST VS DESIGN FIRST
  4. 22:17API DESCRIPTION LINTING
  5. 26:07REUSE API DESCRIPTIONS FOR VALIDATION
~/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.