This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-06-26
Channels
- # adventofcode (2)
- # beginners (69)
- # boot (37)
- # cider (6)
- # clara (31)
- # cljs-dev (75)
- # cljsrn (5)
- # clojure (72)
- # clojure-dev (7)
- # clojure-italy (11)
- # clojure-nl (8)
- # clojure-russia (2)
- # clojure-spec (56)
- # clojure-uk (54)
- # clojure-za (1)
- # clojurescript (156)
- # cursive (2)
- # datomic (34)
- # emacs (1)
- # fulcro (227)
- # hoplon (74)
- # jobs (1)
- # jobs-discuss (16)
- # leiningen (5)
- # lumo (17)
- # off-topic (9)
- # om (3)
- # onyx (10)
- # other-languages (1)
- # portkey (2)
- # re-frame (2)
- # reagent (36)
- # reitit (1)
- # remote-jobs (1)
- # ring-swagger (8)
- # shadow-cljs (85)
- # slack-help (2)
- # spacemacs (6)
- # specter (3)
- # sql (17)
- # test-check (15)
- # tools-deps (80)
[metosin/compojure-api "2.0.0-alpha21"]
is out. Biggest change is the new Muuntaja version, with Jsonista as the default JSON formatter + supports NIO + a multi-module layout: https://github.com/metosin/compojure-api/blob/master/CHANGELOG.md#200-alpha21-2018-06-26
Hey is it possible to have multiple 200 responses in the swagger docs with different schema??
Is it possible to make a schema then that has optional fields?
That is possible. OpenAPI3 (next version of swagger) would support oneOf
and anyOf
. Schema supports these kind of things already.
Hmm... maybe there was a discriminator
key in swagger too, please read the spec if you are interested. The swagger-ui doesn't anyway show those.
Alright I will check them out! Thanks for the help! 🙂