Skip to content

Commit 3a9c4cf

Browse files
committed
Add basePath as example option to swagger-routes
1 parent 1957aab commit 3a9c4cf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/compojure/api/swagger.clj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@
9494
:spec \"/swagger.json\"
9595
:options {:ui {:jsonEditor true}
9696
:spec {}}
97-
:data {:info {:version \"1.0.0\"
97+
:data {:basePath \"/app\"
98+
:info {:version \"1.0.0\"
9899
:title \"Sausages\"
99100
:description \"Sausage description\"
100101
:termsOfService \"http://helloreverb.com/terms/\"

0 commit comments

Comments
 (0)