File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ Stuff on top of [Compojure](https://github.com/weavejester/compojure) for making
3232 [ring.util.http-response :refer :all ]))
3333
3434(defapi app
35- (GET* " /hello" []
35+ (GET " /hello" []
3636 :query-params [name :- String]
3737 (ok {:message (str " Hello, " name)})))
3838```
@@ -57,12 +57,12 @@ Stuff on top of [Compojure](https://github.com/weavejester/compojure) for making
5757 {:info {:title " My Swagger API"
5858 :description " Compojure Api example" }
5959 :tags [{:name " api" , :description " sample api" }]})
60- (context* " /api" []
60+ (context " /api" []
6161 :tags [" api" ]
62- (GET* " /hello" []
62+ (GET " /hello" []
6363 :query-params [name :- String]
6464 (ok {:message (str " Hello, " name)}))
65- (POST* " /pizza" []
65+ (POST " /pizza" []
6666 :return Pizza
6767 :body [pizza Pizza]
6868 :summary " echoes a pizza"
You can’t perform that action at this time.
0 commit comments