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
char0n
changed the title
OpenAPI 3.1.0 support: Schema reference not found
SwaggerEditor@next: Schema reference not found in OpenAPI 3.1.0 definition
Apr 12, 2023
Q&A (please complete the following information)
Content & configuration
Simply browse
https://editor-next.swagger.io/
and try the example OpenAPI definition (yes, I tried to simplify it as much as possible 😃)Example Swagger/OpenAPI definition:
Swagger-UI configuration options:
Default ones
Describe the bug you're encountering
Line 88: local reference not found
To reproduce...
Steps to reproduce the behavior:
https://editor-next.swagger.io/
Expected behavior
I expect
#/components/schemas/ActiveGameSlotCardsV1
to be resolved since it is defined.Screenshots
Error screenshot
Additional context or thoughts
To be honest I don't know why this is happening. Other OpenAPI 3.1 viewers can resolve the reference correctly.
cc @char0n, I submit this issue after we were requested in swagger-api/swagger-ui#5891 to test the alpha, hope this helps.
The text was updated successfully, but these errors were encountered: