Skip to content

Dynamically change request body according to selected "anyOf" option #1235

@hadar-co

Description

@hadar-co

Is your feature request related to a problem?

When a spec has anyOf or oneOf keys, the request body under the REQUEST panel shows an example of the first option only. When selecting a different option, the body doesn't change, which can be confusing and requires the user to change it manually.

Describe the solution you'd like

When using anyOf or oneOf, the request body under the REQUEST should change dynamically when selecting one of the options, to show the relevant object/s.

Describe alternatives you've considered

Manually adjusting the body.

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