You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Springfox 3.0.0 is unmaintained since 2020 and doesn't run on Spring Boot 3.
springdoc-openapi (1.8 for Spring Boot 2.7, 2.x/3.x later) replaces it.
How
Replace springfox-boot-starter/springfox-swagger-ui and the config/swagger classes with springdoc; keep the OAuth2 settings of the
Swagger UI (tesk.api.swagger-oauth.*) and TESK_API_SWAGGER_UI_ENABLED
(off by default, 404 when off).
The API description moves from /v2/api-docs (Swagger 2.0) to /v3/api-docs (OpenAPI 3); public paths, smoke test and docs (API,
configuration, upgrade notes) follow.
Replace the io.swagger.annotations in the hand-written code; the
generated stubs keep theirs until child 7 regenerates them, or move to io.swagger.v3 annotations here.
Open question: keep /v2/api-docs (e.g. answer 301 to /v3/api-docs,
or 410 with a hint) for clients that read it?
Acceptance criteria
No Springfox in the build; /v3/api-docs is public and describes the TES
endpoints; the Swagger UI works when enabled and is off by default.
Activity