~/talk

Dynamic OpenAPIs with Spring Cloud Gateway

Talkat Spring I/O 2023 · 2023-05-18..05-19· [api-design, microservices]
links:none on file
slides:none on file

Shows a working solution that generates a single aggregated OpenAPI from many service specs, exposes only endpoints marked with the extension x-bmw-public, rewrites public paths and tags, and prunes unused schemas. Uses Swagger/OpenAPI libraries to merge and transform YAML and the programmatic Spring Cloud Gateway API to create routes on the fly; the gateway polls services and refreshes routes every five minutes. Prototype completes in a one-week spike and runs in production over a year without issues.

AI-written summary · about

  1. 0:00Start
  2. 2:12OpenAPI Specification
  3. 3:37Swagger
  4. 6:24What is an API Gateway?
  5. 10:07Spring Cloud Gateway Basics
  6. 12:25Spring Cloud Gateway examples
  7. 18:00Requirements
  8. 22:15Every service defines...
  9. 26:49Spring Cloud Gateway routes
  10. 27:49Example: Route conversion (1)
  11. 30:25Example: Gateway Routes (1)
  12. 44:04Summary
~/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.