widdershins icon indicating copy to clipboard operation
widdershins copied to clipboard

Missing response schema for "allOf"

Open stownsend2121 opened this issue 5 years ago • 2 comments

Describe the bug I've created an example to illustrate an issue we're seeing in some of our OAS3 files. https://gist.github.com/stownsend2121/0eee72986a686a9ae4eb7a0820f110c4

  • [X] - I have checked that my input document is valid OpenAPI 2.0/3.0.x or AsyncAPI 1.x

When you generate markdown from that file, the "Response Schema" section is blank.

**Responses**

|Status|Meaning|Description|Schema|
|---|---|---|---|
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|A paged array of pets|Inline|

**Response Schema**

**Enumerated Values**

|Property|Value|
|---|---|
|`breed`|Dingo|
|`breed`|Husky|
|`breed`|Retriever|
|`breed`|Shepherd|

In our actual prod files, we noticed this was happening because our response codes were skipping from "200" to "5XX", skipping over 4XX, which contained an "allOf" structure identical to the one in the gist file.

Expected behavior I'd expect the response schema to be displayed

Versions:

  • Node v8.11.3 (Windows)
  • Widdershins 3.6.4

stownsend2121 avatar Nov 29 '18 21:11 stownsend2121

having same issue with Widdershins 4.0.1

ridakk avatar Dec 30 '20 21:12 ridakk

Any updates on this? I am also waiting on a fix.

xmunoz avatar Feb 15 '22 13:02 xmunoz