Skip to content

Support for oneOf with discriminator #94

Open
@romming

Description

@romming

I am looking to create a provider for an API that makes heavy use of polymorphism, i.e. a oneOf with a discriminator value. I am aware that this is currently not supported. This post has a couple of ideas for how a provider could support polymorphism.

Is support for this type of polymorphism on your roadmap? If yes, do you have thoughts on what the generated spec would look like? If not, do you have thoughts on alternative approaches?

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