We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I set the coercion to :spec and use a recursive spec like :
:spec
(s/def ::user nil?) ;; will be redefined below (s/def ::name string) (s/def ::parent (s/nilable ::user)) (s/def ::user (s/keys :req-un [::name ::parent]))
Swagger fail with this error:
{"type":"unknown-exception","class":"java.lang.StackOverflowError"}
It seems that the clojure.spec -> swagger conversion keep walking the recursive spec until the stack blows up.
The text was updated successfully, but these errors were encountered:
That's not good. Copied the issue into spec-tools, where it needs to be resolved.
Sorry, something went wrong.
quick fixed in latest aplhas.
No branches or pull requests
When I set the coercion to
:spec
and use a recursive spec like :Swagger fail with this error:
It seems that the clojure.spec -> swagger conversion keep walking the recursive spec until the stack blows up.
The text was updated successfully, but these errors were encountered: