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
When you open the swagger-ui in the browser, you get this error:
Resolver error at responses.200.content.application/json.schema.properties.total.$ref Could not resolve reference: Evaluation failed on token: "definitions"
I have tested with reitit versions "0.6.0" and "0.7.0-alpha3" with the same results.
I attached a modified version of the malli swagger example to make it easier to reproduce and a screenshot of the error.
The text was updated successfully, but these errors were encountered:
mcuervoe-np
changed the title
swagger-ui does generates error when response contains a shema with registy
swagger-ui does generates error when response contains a schema with registy
May 11, 2023
mcuervoe-np
changed the title
swagger-ui does generates error when response contains a schema with registy
swagger-ui does generates error when response contains a schema with registry
May 11, 2023
Thanks for such an amazing library. I use it in all my projects. In my latest, I am using malli extensively, and I found this problem with swagger-ui:
When a route contains a
:responses
with a schema that uses a local registry, the swagger-ui produces an error.For example:
When you open the swagger-ui in the browser, you get this error:
Resolver error at responses.200.content.application/json.schema.properties.total.$ref Could not resolve reference: Evaluation failed on token: "definitions"
I have tested with reitit versions "0.6.0" and "0.7.0-alpha3" with the same results.
I attached a modified version of the malli swagger example to make it easier to reproduce and a screenshot of the error.
server.zip
The text was updated successfully, but these errors were encountered: