docusaurus-openapi-docs icon indicating copy to clipboard operation
docusaurus-openapi-docs copied to clipboard

[minor] allOf with enums in query renders as an object, instead of all possible values listed

Open ifropc opened this issue 2 years ago • 0 comments

Describe the bug

Having a query element being intersection of 2 enums renders in as an object, instead of all available options.

Expected behavior

(Using Swagger editor)

image

(Using ReDoc)

image

Current behavior

(Using this plugin, v1.7.2)

image

Possible solution

N/A

Steps to reproduce

You can check the yml file here ReDoc: link And the preview is hosted here (Can also clone the branch and yarn start locally)

Context

I need to manually define a new enum, that has all possible values in it in a unified way

Your Environment

All versions, etc. are available in the package.json file

ifropc avatar May 10 '23 22:05 ifropc