Skip to content

Support creation of multiple openapi documents #22355

@Postremus

Description

@Postremus

Description

Smallrye OpenAPI supports creation of multiple openapi documents using profiles.

This is useful in e.g. following scenarios:

  • Seperation by external and internal description
  • Seperation by domain
  • Seperation by api version

A profile is declared by defining an extension on the resource class or method that should be part of a profile:

@Extension(name = "x-smallrye-profile-external", value = "")

All created openapi schemas should be viewable in swagger-ui.

FTR, this was the PR for smallrye-openapi introducing profile support.
smallrye/smallrye-open-api#967

Implementation ideas

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions