redoc icon indicating copy to clipboard operation
redoc copied to clipboard

oneOf 嵌套oneOf, 文档上的oneOf 显示有问题

Open aweimin opened this issue 4 months ago • 2 comments

嵌套oneOf , 文档上oneOf显示有问题问题,没有按照正确的显示, 例如下面的json

openapi.json

Image

aweimin avatar Aug 26 '25 12:08 aweimin

Not sure what it is about, but it looks related to Redoc. сс @AlexVarchuk

tatomyr avatar Aug 27 '25 17:08 tatomyr

Hi @aweimin, thank you for the issue. Could you explain the expected behaviour? Maybe provide an example of a payload for those different types. For example: standard policy with Action: Deny

[{
    "ipv4": "string",
    "name0": "string"
}]

standart policy with Action: Allow

[{
    "ipv4": "string",
    "name1": "string"
}]

I want to be sure the issue is related to our logic, not to an incorrect OpenAPI description.

AlexVarchuk avatar Aug 28 '25 11:08 AlexVarchuk