~/talk

Endpoint versioning made simple

Talkat Devoxx Belgium 2024 · 2024-10-07..10-11· [api-design]
links:none on file
slides:none on file

A Spring Boot library implements a global version number so a single integer covers every endpoint, using a custom get-version-mapping annotation plus a WebMvc RequestMappingHandlerMapping extension to route requests. Live coding shows tests moving from 4 to 6 green checks, introduces a latestVersion constant to bump all endpoints at once, and supports ranged versions (e.g., 1..100). Published on Maven Central with a GitHub repo and ready-to-use examples.

AI-written summary · about

  1. 0:00Introduction
  2. 1:11Why version endpoints
  3. 4:20Problem with many versions
  4. 8:36Starting demo setup
  5. 11:49First solution attempt
  6. 16:05Introducing a library
  7. 21:28Using constants for versions
  8. 24:14Splitting version and resource
  9. 25:39Conclusion and Q&A
~/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.