-
Notifications
You must be signed in to change notification settings - Fork 94
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
Generate JSON Schemas from clojure.specs #4
Comments
I didn't really understand what is the aim of the spec-parsing branch, but here's my sketch of this: miikka@8a52296 |
I looked at arohner/spectrum again and it might make sense to take my tests and write a version based on spectrum against them. |
Sketch looks great. Let's merge that in? |
I have some some new code, but unfortunately right now the predicates for collection specs aren't resolved by the clojure.spec macros. This prevents |
Nice. Is it possible to configure how the JSON Schema generation process works? For example, the Swagger JSON Schema doesn't currently allow |
Progress report: as of #13, the I'm not sure what should be done w.r.t. Swagger - maybe spec-tools should only target the Swagger-compliant JSON Schema, since that's probably the main use case anyway - or maybe it should be somehow configurable, or maybe there should a separate function for that. |
Awesome! I think both are valid cases in the future: swagger & pure json schema. Looking forward to see / hear how these should be separated. Also, we should be able to collect all map-specs from a nested definition and optionally convert to |
|
done! |
The text was updated successfully, but these errors were encountered: