reitit/examples/ring-spec-swagger
Tommi Reiman 3381fe34e5 0.3.4
2019-05-20 20:14:14 +03:00
..
resources inital commit 2018-09-05 13:14:58 +03:00
src/example Add sorting to swagger-ui 2019-05-11 14:27:08 +03:00
test/example test whole stack (use query-string and json-body) 2018-09-23 22:48:32 +02:00
.gitignore inital commit 2018-09-05 13:14:58 +03:00
project.clj 0.3.4 2019-05-20 20:14:14 +03:00
README.md minor fix in documentation 2018-09-23 12:42:12 +02: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/plus x:=1 y:=20

http GET :3000/swagger.json

License

Copyright © 2017-2018 Metosin Oy