* [Clojure] Add model generation and verification
- Generate clojure.specs from models
- Optionally validate them at runtime (validation is active if
orchestra.spec.test/instrument is called after specs are imported)
- Coerce the results of the API calls to get objects that conform
to the spec (e.g. get Date objects for dates and time instead of strings)
* [Clojure] Make model conforming configurable and opt-out
* [Clojure] Move specs from a single file to a ns per model
So that the order of the forms will be resolved by the compiler,
otherwise we'd have to implement a topological ordering.
* [Clojure] Update petstore sample and set automatic decoding off
* [Clojure] Stop testing Clojure generator on Java7
* [Clojure] Fix tests and handling of multiple arity
* [Clojure] Fix tests and add testing for the new decoding feature
* [Clojure] Capitalize names of generated models
* [Clojure] Rename petstore specs to be capitalized
* Revert to lowercase spec names, and postfix the data specs
Co-authored-by: Akihito Nakano <sora.akatsuki@gmail.com>
Co-authored-by: Jeremie Bresson <dev@jmini.fr>
Co-authored-by: Jim Schubert <james.schubert@gmail.com>
Co-authored-by: Martin Delille <martin@phonations.com>
Co-authored-by: Tomasz Prus <tomasz.prus@gmail.com>
Co-authored-by: William Cheng <wing328hk@gmail.com>
* Updates http-client dependency to one that correctly handles certificates
This is important as amazon AWS gateway and several other types of certificates will not work correctly due to the old java library used by the 2.0.0 version of http-client.
* Runs the petstore updates switch for clojure
* Runs the petstore updates switch for clojure