erosb / json-sKema

JSON Schema Validator for the JVM, implements draft2020-12
MIT License
47 stars 8 forks source link

Fluent schema builders #3

Closed erosb closed 1 week ago

tfrancart commented 2 months ago

Hello ! if I understand well the title of this issue, it would enable the same thing as whta is described at https://stackoverflow.com/a/38478478/189723, correct ? Then I would be particularly interested by this feature !

erosb commented 1 month ago

Hello @tfrancart this effort is in progress, you can take an early look at the upcoming API in the fluent-builder branch, in this test: https://github.com/erosb/json-sKema/blob/fluent-builders/src/test/kotlin/com/github/erosb/jsonsKema_fluent/SchemaBuilderTest.kt Any feedback / question / request for changes is welcome.

erosb commented 1 week ago

Hello, this was completed in release 0.16.0, usage example is here. Feedback is welcome as always :)