One Of Display Issues in Responses
Mark Milner
When using
oneOf
imported from swagger, the response schemas add additional allOf
nodes that don't exist when trying to edit the api.In the screenshots, you can see that the response is properly set as a oneOf of 3 objects. But in the response schema there is an additional
allOf
node inserted that has one blank field and then the object that is part of the oneOf
.Is this a bug in ApiDog or is this something I need to fix on my end.
Mark Milner
It looks like this only happens when the one of is at the top-level. If there is a oneOf under the root this works fine.
Is this intentional? Is there a workaround or a bug on your end?