Skip to content

Update Editor to support factory pattern/polymorphism as employed by OpenAPI standard #38

@kevinkirkl3y

Description

@kevinkirkl3y

We want to be able to use the oneOf, anyOf keywords in addition to the allOf keyword currently employed by the editor.

This will require changes to the UI: The editor with default to the use of allOf when defining objects. Then add a dropdown menu that will allow users to select oneOf or allOf with the default being allOf. Selection of the oneOf keyword would then activate an additional dropdown requiring the user to select the Item Type.

Swagger/OpenAPI documentation:
https://swagger.io/docs/specification/data-models/oneof-anyof-allof-not/
https://swagger.io/docs/specification/data-models/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions