Fork me on GitHub
#reitit
<
2020-06-09
>
Matheus Moreira09:06:16

hello. when using reitit’s ring-swagger integration, is there a way to “enrich” parameters and responses descriptions, e.g.: a text telling default values or the condition in which a certain response is returned? compojure-api has a describe function that seems to do it.

ikitommi12:06:37

schema-tools and malli docs should show how it's done with them.

ikitommi12:06:00

doc improvements welcome btw :)

moonbrv16:06:13

Hello, I have a question about controllers in reitit.frontend Is it possible somehow to get access in :start controller to old match? I have a task to send analytics and I need some path params from both: new and old matches

moonbrv16:06:07

for now, I just do (assoc new-match :old-match old-match ) before passing new match to the apply-controllers function, but I'm not sure if this is a right way to do so