Issue is that the leaf node isn't shown. Possibly due to the resolver trying to fully realise the definition.

Created
November 16, 2021 15:33
-
-
Save ponelat/e3e7e3e55247ef6d2cd09926bbeb4241 to your computer and use it in GitHub Desktop.
Recursive rendering issue
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| swagger: '2.0' | |
| info: | |
| title: Recursive | |
| description: Recursive | |
| version: 1.0.0 | |
| paths: | |
| /foo: | |
| get: | |
| description: ok | |
| responses: | |
| default: | |
| description: ok | |
| definitions: | |
| Bob: | |
| type: object | |
| properties: | |
| alices: | |
| type: array | |
| items: | |
| $ref: '#/definitions/Alice' | |
| foo: | |
| type: string | |
| bar: | |
| type: integer | |
| Alice: | |
| type: object | |
| properties: | |
| bobs: | |
| type: array | |
| items: | |
| $ref: '#/definitions/Bob' | |
| baz: | |
| type: integer | |
| alices: | |
| $ref: '#/definitions/Alice' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment