This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-11-13
Channels
- # beginners (71)
- # boot (61)
- # clara (49)
- # cljs-dev (9)
- # cljsjs (2)
- # cljsrn (5)
- # clojure (55)
- # clojure-android (1)
- # clojure-italy (4)
- # clojure-spec (39)
- # clojure-uk (56)
- # clojurescript (69)
- # cursive (5)
- # data-science (1)
- # defnpodcast (6)
- # devcards (1)
- # duct (12)
- # figwheel (3)
- # fulcro (18)
- # leiningen (35)
- # lumo (19)
- # midje (1)
- # off-topic (22)
- # om (3)
- # onyx (23)
- # portkey (3)
- # re-frame (20)
- # reagent (23)
- # ring-swagger (6)
- # shadow-cljs (119)
- # specter (7)
- # unrepl (25)
Hi , are there any clojure tools that generate a server from an existing swagger.json file?
@mmer to get that working properly, one would need to have a JSON Schema => Schema or clojure.spec transformer or have a web library that accepts JSON Schema as a validation engine. After that, it would be trivial to generate a skeleton app with swagger-gen.
https://github.com/zalando-stups/swagger1st is kinda close and coercion is pluggable in compojure-api. so using JSON Schema in validation should be doable.
@nilrecurring might be doing the JSON Schema -> clojure.spec transformer?