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

Labels

enhancementNew feature or requestreviewing 👀Undergoing manual audit to determine if issue should still be active

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions