reitit/examples/ring-spec-swagger
Tommi Reiman 56cbd67abd 0.5.3
2020-07-09 22:06:04 +03:00
..
resources inital commit 2018-09-05 13:14:58 +03:00
src/example Remove unneeded default responses from examples 2020-05-27 08:31:02 +03:00
test/example Add clj-kondo and fix most linting warnings 2020-03-05 13:32:48 +02:00
.gitignore inital commit 2018-09-05 13:14:58 +03:00
project.clj 0.5.3 2020-07-09 22:06:04 +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