mirror of
https://github.com/metosin/reitit.git
synced 2025-12-17 16:31:11 +00:00
Fix example
This commit is contained in:
parent
0cafb9639d
commit
8d58cbc71f
1 changed files with 1 additions and 1 deletions
|
|
@ -183,7 +183,7 @@ Whole example project is in [`/examples/ring-swagger`](https://github.com/metosi
|
||||||
"application/transit+json"}}}})
|
"application/transit+json"}}}})
|
||||||
(ring/routes
|
(ring/routes
|
||||||
(swagger-ui/create-swagger-ui-handler
|
(swagger-ui/create-swagger-ui-handler
|
||||||
{:path "", :url "/api/swagger.json"})
|
{:path "/", :url "/api/swagger.json"})
|
||||||
(ring/create-default-handler))))
|
(ring/create-default-handler))))
|
||||||
|
|
||||||
(defn start []
|
(defn start []
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue