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
Generating Swagger / OpenApi / JsonSchema from multi-spec returns empty map:
multi-spec
(s/def ::string string?) (s/def ::number number?) (defmulti foo :type) (defmethod foo "string" [_] (s/keys :req-un [::string])) (defmethod foo "number" [_] (s/keys :req-un [::number])) (s/def ::foo (s/multi-spec foo :type)) (gen/sample (s/gen ::foo)) #_({:number -2.0, :type "number"} {:number -0.5, :type "number"} {:number -2, :type "number"} {:number -1, :type "number"} {:number -1, :type "number"} {:string "dqo6", :type "string"} {:number -0.5, :type "number"} {:string "7FtR", :type "string"} {:number -1.859375, :type "number"} {:string "91C", :type "string"}) (swagger/transform ::foo) #_{} (openapi/transform ::foo) #_{} (json-schema/transform ::foo) #_{}
Is there any workaround for this?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Generating Swagger / OpenApi / JsonSchema from
multi-spec
returns empty map:Is there any workaround for this?
The text was updated successfully, but these errors were encountered: