~/talk

Documenting RESTful APIs

Talkat SpringOne2GX 2015 · 2015-09-14..09-17· [api-design, documentation]
links:none on file
slides:none on file

Argues that Swagger can mislead when documenting Spring MVC—Swagger lacks Hypermedia support and it often misinterprets response types—then demos a working pipeline that builds a simple notes API with Spring Data REST, exercises it with MockMvc, and generates test-driven snippets with Spring REST Docs (curl examples, HTTP responses, link and field tables). Uses Asciidoctor and Gradle continuous build plus live-reload to produce HTML docs as part of CI, ensuring examples are accurate because tests must pass.

AI-written summary · about

  1. 0:00Introduction to API documentation
  2. 1:12REST maturity model explained
  3. 6:47Designing consistent REST APIs
  4. 11:48Essential API documentation elements
  5. 17:26What not to document in APIs
  6. 19:51Bad API documentation examples
  7. 23:44Good API documentation examples
  8. 26:52Tools for documenting Spring APIs
  9. 40:19Introducing Spring REST Docs
  10. 51:58Live coding with Spring REST Docs
~/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.