-
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
Convert JSON schema to malli #915
base: master
Are you sure you want to change the base?
Convert JSON schema to malli #915
Commits on Jan 6, 2021
-
Initial implementation of json-schema import
This allows a very basic json-schema->malli conversion and will most likely need to be adequated to: - cleanup TODOS; - ensure function names are sane; - ensure all json-schema features are supported (at least for one specific version, i.e. draft-7).
Configuration menu - View commit details
-
Copy full SHA for e099544 - Browse repository at this point
Copy the full SHA e099544View commit details -
Simplify functions, rename and make code simpler
Also, remove duplication.
Configuration menu - View commit details
-
Copy full SHA for 74f62cf - Browse repository at this point
Copy the full SHA 74f62cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9690651 - Browse repository at this point
Copy the full SHA 9690651View commit details -
Also, reorganize functions to simplify processing, reduce duplication and avoid special casing. Lastly, make schema->malli the first entry point since anything can be a schema. It then delegates to types, aggregates or `$ref`s.
Configuration menu - View commit details
-
Copy full SHA for b3f6a9a - Browse repository at this point
Copy the full SHA b3f6a9aView commit details -
Implement properties for strings, some int checks
Also, adds top-level enums (and consts) and prepares for better range checks in int/number.
Configuration menu - View commit details
-
Copy full SHA for 0ad4ca5 - Browse repository at this point
Copy the full SHA 0ad4ca5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 404e664 - Browse repository at this point
Copy the full SHA 404e664View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc5059b - Browse repository at this point
Copy the full SHA fc5059bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 18332a6 - Browse repository at this point
Copy the full SHA 18332a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f380a7 - Browse repository at this point
Copy the full SHA 9f380a7View commit details
Commits on Mar 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1d7a210 - Browse repository at this point
Copy the full SHA 1d7a210View commit details -
Configuration menu - View commit details
-
Copy full SHA for d7a9f1f - Browse repository at this point
Copy the full SHA d7a9f1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for cf67b24 - Browse repository at this point
Copy the full SHA cf67b24View commit details
Commits on Mar 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d4d32a5 - Browse repository at this point
Copy the full SHA d4d32a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 33fd1b6 - Browse repository at this point
Copy the full SHA 33fd1b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 90b0f39 - Browse repository at this point
Copy the full SHA 90b0f39View commit details -
Configuration menu - View commit details
-
Copy full SHA for a08acfc - Browse repository at this point
Copy the full SHA a08acfcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d2ac57 - Browse repository at this point
Copy the full SHA 5d2ac57View commit details -
Configuration menu - View commit details
-
Copy full SHA for 69722c8 - Browse repository at this point
Copy the full SHA 69722c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e25ef0 - Browse repository at this point
Copy the full SHA 7e25ef0View commit details -
Configuration menu - View commit details
-
Copy full SHA for f54739a - Browse repository at this point
Copy the full SHA f54739aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 61b174e - Browse repository at this point
Copy the full SHA 61b174eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0bc83f0 - Browse repository at this point
Copy the full SHA 0bc83f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1fbf35a - Browse repository at this point
Copy the full SHA 1fbf35aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 22572dc - Browse repository at this point
Copy the full SHA 22572dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for b849ddb - Browse repository at this point
Copy the full SHA b849ddbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2abfde4 - Browse repository at this point
Copy the full SHA 2abfde4View commit details -
Configuration menu - View commit details
-
Copy full SHA for a4ebd9d - Browse repository at this point
Copy the full SHA a4ebd9dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 18a49e6 - Browse repository at this point
Copy the full SHA 18a49e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 66a5e94 - Browse repository at this point
Copy the full SHA 66a5e94View commit details -
Configuration menu - View commit details
-
Copy full SHA for c40e18b - Browse repository at this point
Copy the full SHA c40e18bView commit details
Commits on Mar 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 169d9ea - Browse repository at this point
Copy the full SHA 169d9eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 81fd361 - Browse repository at this point
Copy the full SHA 81fd361View commit details -
Configuration menu - View commit details
-
Copy full SHA for dcf63bd - Browse repository at this point
Copy the full SHA dcf63bdView commit details
Commits on Mar 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7160138 - Browse repository at this point
Copy the full SHA 7160138View commit details
Commits on Mar 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 050b93e - Browse repository at this point
Copy the full SHA 050b93eView commit details
Commits on Apr 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f9ad572 - Browse repository at this point
Copy the full SHA f9ad572View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e6e4ed - Browse repository at this point
Copy the full SHA 8e6e4edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f5014f - Browse repository at this point
Copy the full SHA 6f5014fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a8341b - Browse repository at this point
Copy the full SHA 3a8341bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c62326 - Browse repository at this point
Copy the full SHA 6c62326View commit details -
Configuration menu - View commit details
-
Copy full SHA for f303d3d - Browse repository at this point
Copy the full SHA f303d3dView commit details -
Fix inconsistencies on UUID transform helper
Now it works correctly and with same behavior on cljs and clj.
Configuration menu - View commit details
-
Copy full SHA for 7e823e1 - Browse repository at this point
Copy the full SHA 7e823e1View commit details -
Add helper script for start a REPL with rebel-readline
Makes running individual tests easily with the help of tools.namespace for namespace reloading.
Configuration menu - View commit details
-
Copy full SHA for d2e14f1 - Browse repository at this point
Copy the full SHA d2e14f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb0a174 - Browse repository at this point
Copy the full SHA fb0a174View commit details -
Configuration menu - View commit details
-
Copy full SHA for f72e692 - Browse repository at this point
Copy the full SHA f72e692View commit details -
Configuration menu - View commit details
-
Copy full SHA for a782abe - Browse repository at this point
Copy the full SHA a782abeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 47bca75 - Browse repository at this point
Copy the full SHA 47bca75View commit details -
Configuration menu - View commit details
-
Copy full SHA for d42044f - Browse repository at this point
Copy the full SHA d42044fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8815f36 - Browse repository at this point
Copy the full SHA 8815f36View commit details -
Configuration menu - View commit details
-
Copy full SHA for e259a3b - Browse repository at this point
Copy the full SHA e259a3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 56c250b - Browse repository at this point
Copy the full SHA 56c250bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 29592cd - Browse repository at this point
Copy the full SHA 29592cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for a199fb4 - Browse repository at this point
Copy the full SHA a199fb4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 597c293 - Browse repository at this point
Copy the full SHA 597c293View commit details -
Configuration menu - View commit details
-
Copy full SHA for 70a23d2 - Browse repository at this point
Copy the full SHA 70a23d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 57784bc - Browse repository at this point
Copy the full SHA 57784bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 205658a - Browse repository at this point
Copy the full SHA 205658aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d33258d - Browse repository at this point
Copy the full SHA d33258dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ef08a73 - Browse repository at this point
Copy the full SHA ef08a73View commit details -
Configuration menu - View commit details
-
Copy full SHA for d72099c - Browse repository at this point
Copy the full SHA d72099cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 880db0e - Browse repository at this point
Copy the full SHA 880db0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for af91665 - Browse repository at this point
Copy the full SHA af91665View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b46a6b - Browse repository at this point
Copy the full SHA 6b46a6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ac672ac - Browse repository at this point
Copy the full SHA ac672acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 035f873 - Browse repository at this point
Copy the full SHA 035f873View commit details -
Configuration menu - View commit details
-
Copy full SHA for d7822a4 - Browse repository at this point
Copy the full SHA d7822a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 65effca - Browse repository at this point
Copy the full SHA 65effcaView commit details -
Move swagger gen code from reitit-malli to here
This allows us to see the whole spec at once and fix a bug w/ custom registry definitions
Configuration menu - View commit details
-
Copy full SHA for 58f1ed7 - Browse repository at this point
Copy the full SHA 58f1ed7View commit details -
Properly encode the / in qualified keywords as ~1
...in json-schema. Also removes the leading `:` which the definitions keys also didn't have. This allows the refs and definitions keys to match and be standards-compliant.
Configuration menu - View commit details
-
Copy full SHA for c5968a3 - Browse repository at this point
Copy the full SHA c5968a3View commit details -
Don't define circular refs in definitions
Perhaps this really needs to be fixed at a lower level, but I noticed that at times I was getting definitions whose values where just refs back to the same definition. These seemed to come in addition to the correct result that had the actual definition in it. So this just filters out the circular ones.
Configuration menu - View commit details
-
Copy full SHA for 98dfbeb - Browse repository at this point
Copy the full SHA 98dfbebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4732c01 - Browse repository at this point
Copy the full SHA 4732c01View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff2c1b7 - Browse repository at this point
Copy the full SHA ff2c1b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba2fc9c - Browse repository at this point
Copy the full SHA ba2fc9cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0da94b8 - Browse repository at this point
Copy the full SHA 0da94b8View commit details -
Add a test for circular definitions avoidance
...in json-schema-test/references-test. Fix was in 23488b2.
Configuration menu - View commit details
-
Copy full SHA for 9e14bd2 - Browse repository at this point
Copy the full SHA 9e14bd2View commit details -
Add tests for swagger/swagger-spec
...including one commented-out failing test that should pass once issue metosin#464 is fixed.
Configuration menu - View commit details
-
Copy full SHA for 1ab8cba - Browse repository at this point
Copy the full SHA 1ab8cbaView commit details -
Configuration menu - View commit details
-
Copy full SHA for a4a489d - Browse repository at this point
Copy the full SHA a4a489dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 06495d6 - Browse repository at this point
Copy the full SHA 06495d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for db3606f - Browse repository at this point
Copy the full SHA db3606fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 40c915a - Browse repository at this point
Copy the full SHA 40c915aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 42c7244 - Browse repository at this point
Copy the full SHA 42c7244View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2524fd3 - Browse repository at this point
Copy the full SHA 2524fd3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9fcc8c0 - Browse repository at this point
Copy the full SHA 9fcc8c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 576b3ae - Browse repository at this point
Copy the full SHA 576b3aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for ff23346 - Browse repository at this point
Copy the full SHA ff23346View commit details -
Configuration menu - View commit details
-
Copy full SHA for feb52a9 - Browse repository at this point
Copy the full SHA feb52a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for be3aba1 - Browse repository at this point
Copy the full SHA be3aba1View commit details -
Unless I'm missing something, present tense should be used here as it's currently true that you have to bring in your state atom in order to have a global registry
Configuration menu - View commit details
-
Copy full SHA for 7d24786 - Browse repository at this point
Copy the full SHA 7d24786View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3754ce - Browse repository at this point
Copy the full SHA d3754ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2bac51d - Browse repository at this point
Copy the full SHA 2bac51dView commit details