Skip to content

Commit cec0e08

Browse files
committed
Update readme
1 parent 29037b5 commit cec0e08

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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"

0 commit comments

Comments
 (0)