Skip to content

Spring Framework 7 - API versioning support #2975

Open
@csterwa

Description

@csterwa

Spring Framework 7 coming in November 2025

With API versioning support getting into Spring Framework 7, there could be an opportunity to generate multiple OpenAPI specifications for each version that is defined for REST API routes in an application. I'd be interested in talking through solution options if there is interest. Some initial thoughts I've had are:

  • Generating a default actuator OpenAPI endpoint but then allow query parameters for different versions
  • Exposed API docs endpoint with query parameters, as well
  • Add a way to show deprecation of API routes in newer version of OpenAPI generated specification

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions