Fork me on GitHub
#reitit
<
2019-01-25
>
kanwei16:01:20

@ikitommi I think it would make sense to have it ordered on the serverside json based on the positioning of the routes in the [[router]]

kanwei16:01:36

is that easy to patch/change based on the design of reitit?

ikitommi17:01:19

@kanwei here we lose the order with (into {}), using array-map will retain the order. Jackson/Jsonista might lose it again. Would you like to try how it works? https://github.com/metosin/reitit/blob/master/modules/reitit-swagger/src/reitit/swagger.cljc#L104