You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This configuration with $ref used in path is throwing Error:
Resolver error at post.responses.200.content.application/json.examples.testExample.externalValue
Could not resolve reference: ExampleElement value and externalValue fields are mutually exclusive.
When there is no $ref used and the content of test.yaml is directly included in the main index.yaml, no error occurs.
To reproduce...
Just open this definition in UI.
Expected behavior
This error should not occur as the definition is exactly the same. The difference is just the $ref. The $ref is supported under particular paths in OpenAPI 3.
The text was updated successfully, but these errors were encountered:
Q&A (please complete the following information)
Content & configuration
index.yaml
test.yaml:
test.json:
Describe the bug you're encountering
This configuration with $ref used in path is throwing Error:
Resolver error at post.responses.200.content.application/json.examples.testExample.externalValue
Could not resolve reference: ExampleElement value and externalValue fields are mutually exclusive.
When there is no $ref used and the content of test.yaml is directly included in the main index.yaml, no error occurs.
To reproduce...
Just open this definition in UI.
Expected behavior
This error should not occur as the definition is exactly the same. The difference is just the $ref. The $ref is supported under particular paths in OpenAPI 3.
The text was updated successfully, but these errors were encountered: