Skip to content

Commit

Permalink
Fix get info from config
Browse files Browse the repository at this point in the history
Co-authored-by: Iain Wood <iain.wood@flexiana.com>
  • Loading branch information
gmsvalente and Iain Wood committed Dec 1, 2023
1 parent 4b088e4 commit d8de634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xiana/swagger.clj
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
(let [router (ring/router routes (or route-opt-map {}))
swagger {:swagger "2.0"
:x-id ::default
:info {:title (get-in route-opt-map [:data :description])}}
:info (get-in route-opt-map [:data :info])}
map-in-order #(->> % (apply concat) (apply array-map))
paths (->> router
(r/compiled-routes)
Expand Down

0 comments on commit d8de634

Please sign in to comment.