reitit

https://cljdoc.org/d/metosin/reitit/ https://github.com/metosin/reitit/
Matheus Moreira 2021-03-11T09:45:45.058400Z

@juhoteperi What is the practical difference between oneOf and anyOf ?

juhoteperi 2021-03-11T09:47:44.058800Z

In this case, probably nothing

Gleb Posobin 2021-03-11T14:38:39.059800Z

Hi, is it possible to prevent unsuccessful coercions from throwing in reitit.frontend? https://github.com/metosin/reitit/issues/334

jmckitrick 2021-03-11T16:05:39.061300Z

Is there a way to attach descriptions for swagger to the parameters in a request? I have a parameter name, value, parameter type, and data type. But I've not seen a description populated in any examples.

raymcdermott 2021-03-11T16:39:05.061900Z

@jmckitrick

(def Org-Ref
  [:map {:title "Organisation name"}
   [:ref {:swagger/description "Name of the organisation"
          :swagger/example     "Acme rentals, Houston TX"} Name]])

raymcdermott 2021-03-11T16:41:35.062300Z

^^^ using malli though

jmckitrick 2021-03-11T16:50:36.062900Z

Ah, ok. I'd love to use malli, but that's not an option at the moment.

juhoteperi 2021-03-11T18:29:12.063600Z

For spec using spec-tools: https://github.com/metosin/spec-tools/blob/master/docs/04_json_schema.md#annotated-specs

juhoteperi 2021-03-11T19:17:03.064800Z

Not currently.

Gleb Posobin 2021-03-11T22:22:10.065Z

=(