Last active
February 20, 2021 11:31
-
-
Save ondrakoupil/aa986212d90f598cf96dbda01cdc1545 to your computer and use it in GitHub Desktop.
ng-openapi-gen bug - multiple references leads to an error
This file contains 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
--- | |
openapi: 3.0.0 | |
info: | |
title: Example | |
description: Example of bug in ng-openapi-gen | |
version: 0.0.1 | |
paths: | |
/hello: | |
get: | |
operationId: hello | |
responses: | |
200: | |
content: | |
application/json: | |
schema: | |
type: object | |
properties: | |
firstProperty: | |
$ref: ref.yaml | |
secondProperty: | |
$ref: ref.yaml | |
thirdProperty: | |
$ref: ref.yaml |
This file contains 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
--- | |
openapi: 3.0.0 | |
info: | |
title: Example | |
description: Example of bug in ng-openapi-gen | |
version: 0.0.1 | |
components: | |
schemas: | |
something: | |
$ref: ref.yaml | |
paths: | |
/hello: | |
get: | |
operationId: hello | |
responses: | |
200: | |
content: | |
application/json: | |
schema: | |
type: object | |
properties: | |
firstProperty: | |
$ref: ref.yaml | |
secondProperty: | |
$ref: ref.yaml | |
thirdProperty: | |
$ref: ref.yaml |
This file contains 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
--- | |
openapi: 3.0.0 | |
info: | |
title: Example | |
description: Example of bug in ng-openapi-gen | |
version: 0.0.1 | |
paths: | |
/hello: | |
get: | |
operationId: hello | |
responses: | |
200: | |
content: | |
application/json: | |
schema: | |
type: object | |
properties: | |
firstProperty: | |
$ref: ref.yaml | |
secondProperty: | |
$ref: ref2.yaml | |
thirdProperty: | |
$ref: ref3.yaml |
This file contains 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
type: string | |
example: hello |
This file contains 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
type: string | |
example: hello |
This file contains 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
type: string | |
example: hello |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment