Skip to content

Specify schema processing for sealed classes and permitted subclasses #719

@MikeEdgar

Description

@MikeEdgar

Sealed classes/interfaces in Java 17+ allow for one or more permitted subclasses to be specified on the sealed class. This seems to be a good match for JSON schemas anyOf subschema array. We should investigate if this is a good feature for inclusion in MP OpenAPI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions