reitit/examples/ring-spec-swagger
2018-09-07 23:14:12 +03:00
..
resources inital commit 2018-09-05 13:14:58 +03:00
src/example use clojure.spec 2018-09-05 13:21:20 +03:00
.gitignore inital commit 2018-09-05 13:14:58 +03:00
project.clj ring -> ring/ring-jetty-adapter 2018-09-07 23:14:12 +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