swagger-ui icon indicating copy to clipboard operation
swagger-ui copied to clipboard

Path Response with multiple items in "allOf" is not rendered properly.

Open zorang opened this issue 9 years ago • 3 comments

There is path which contains reference to an definition: http://take.ms/71Fhc That definition exists here: http://take.ms/cxLm8 and contains an property called "currency".

But when we render the swagger ui we don't see the "currency" property of that definition rendered: http://take.ms/fubsS

zorang avatar Jan 17 '17 22:01 zorang

The issue seems to be not with the multiple allOf but the depth of it. As a workaround, you can extract the partner definition (the one containing the allOf) to a separate definition, and $ref it from `partner, it would render properly.

webron avatar Jan 18 '17 00:01 webron

@webron yes that workaround have helped.

It really would be good to have that fix to avoid polluting of definitions with possible definitions conflicts and overlapping.

zorang avatar Jan 18 '17 00:01 zorang

This should no longer be an issue with 3.X.

webron avatar Mar 25 '17 03:03 webron