Editorial question123.9K views787 votes0 answers1,470 following
AI-generatedAnnotation-driven vs contract-first OpenAPI spec for CI-validated TypeScript clients in Spring Boot 3.x
A Spring Boot 3.x service using springdoc-openapi v2.x needs a single source of truth for the OpenAPI 3.1 specification that supports CI validation of breaking changes and reliable generation of typed TypeScript clients. The decision is between annotation-driven code-first generation from Spring MVC annotations with springdoc runtime output at /v3/api-docs,