Dynamic OpenAPIs with Spring Cloud Gateway
summary
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
chapters (12)
- 0:00Start
- 2:12OpenAPI Specification
- 3:37Swagger
- 6:24What is an API Gateway?
- 10:07Spring Cloud Gateway Basics
- 12:25Spring Cloud Gateway examples
- 18:00Requirements
- 22:15Every service defines...
- 26:49Spring Cloud Gateway routes
- 27:49Example: Route conversion (1)
- 30:25Example: Gateway Routes (1)
- 44:04Summary
related talks
50mUsing Spring with OpenAPI
01h 00mModern API Versioning and Enterprise Ready AI Enablement with Spring Cloud Gateway
29mBringing OpenAPI to devOps
35mBringing together OpenAPI 3 and Spring Boot
51mIntroducing Spring Cloud Gateway
35mAPI-First! Contract-First! Make API development great again!
19mSecure and accelerate APIs' lifecycle with the OpenAPI specification
39mAPI Development in 2017
