widdershins
widdershins copied to clipboard
Missing response schema for "allOf"
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
having same issue with Widdershins 4.0.1
Any updates on this? I am also waiting on a fix.