Skip to content

build: replace Springfox with springdoc #166

Closed

Description

@uniqueg

Why

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.
  • Upgrade notes name the moved API description.

Part of #66.

Activity

  1. added
    priority: medium
    status: blocked
    type flag: breaking change
    type: maintenance
    workload: days
    on Nov 13, 2026
  2. added
    status: in progress
    and removed
    status: blocked
    on Nov 15, 2026
  3. self-assigned this
    on Nov 15, 2026
  4. moved this from Backlog to In progress in ELIXIR On-Cloudon Nov 15, 2026
  5. moved this from In progress to Done in ELIXIR On-Cloudon Nov 15, 2026
  6. removed
    status: in progress
    on Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

priority: mediumtype flag: breaking changetype: maintenanceworkload: days

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions