reitit/examples/ring-spec-swagger
Tommi Reiman d81f20ae79 0.2.2
2018-09-09 22:29:00 +03:00
..
resources inital commit 2018-09-05 13:14:58 +03:00
src/example don't use wrap-params 2018-09-07 23:39:55 +03:00
.gitignore inital commit 2018-09-05 13:14:58 +03:00
project.clj 0.2.2 2018-09-09 22:29:00 +03:00
README.md inital commit 2018-09-05 13:14:58 +03:00
swagger.png inital commit 2018-09-05 13:14:58 +03:00

reitit-ring, clojure.spec, swagger

Usage

> lein repl
(start)

To test the endpoints using httpie:

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

http GET :3000/swagger.json

License

Copyright © 2017-2018 Metosin Oy