reitit/examples/http-swagger
Tommi Reiman f43a8311fc 0.5.12
2021-02-04 20:40:25 +02:00
..
resources http-swagger example 2018-09-07 23:11:59 +03:00
src/example Remove unneeded default responses from examples 2020-05-27 08:31:02 +03:00
.gitignore http-swagger example 2018-09-07 23:11:59 +03:00
project.clj 0.5.12 2021-02-04 20:40:25 +02:00
README.md Fix example README 2018-10-21 23:37:11 +03:00
swagger.png Update http-swagger example 2018-10-21 23:11:09 +03:00

Http with Swagger example

Usage

> lein repl
(start)

To test the endpoints using httpie:

http GET :3000/math/plus x==1 y==20
http POST :3000/math/plus x:=1 y:=2

http GET :3000/async results==1 seed==reitit

License

Copyright © 2018 Metosin Oy