-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing "Defs" in swagger (malli.json-schema) with recursive schemes #464
Comments
also, the swagger json has no def of the Expression at all, in the same time
I use |
I did some testing around this as a part of #863 and was able to determine that this bug occurs when a schema is only ever In this case it does appear that the Anyway, I'm about to push a commented-out failing test to #863 that demonstrates this bug. |
...including one commented-out failing test that should pass once issue metosin#464 is fixed.
That test is now pushed in d774bd8. |
...including one commented-out failing test that should pass once issue metosin#464 is fixed.
Hi! I try to use malli as coercion&schemas with swagger ui. If i try serialise recursive schemas with registries, i get some "Could not resolve reference" of keys of recursive values. it is according to plan and swagger bad, or its just undone feature?) looks like there is some missing defs in swagger.json
I use swagger-ui bundled with
[metosin/reitit-swagger-ui "0.5.13"] [metosin/ring-swagger-ui "3.36.0"]
guess it 3.XX.
I'v got example of that malli:
If i malli.json-schema/transform this (it is used in swagger gen, right?) i get something like:
and it has no valuable
#/definitions/Expression
as you can see
The text was updated successfully, but these errors were encountered: