reitit/examples/pedestal-swagger
Tommi Reiman d926ef7591 0.7.2
2024-08-30 18:05:18 +03:00
..
resources pedestal+reitit-http+swagger 2018-09-08 00:16:59 +03:00
src/example Remove unneeded default responses from examples 2020-05-27 08:31:02 +03:00
.gitignore pedestal+reitit-http+swagger 2018-09-08 00:16:59 +03:00
project.clj 0.7.2 2024-08-30 18:05:18 +03:00
README.md pedestal+reitit-http+swagger 2018-09-08 00:16:59 +03:00
swagger.png pic 2018-09-08 11:13:22 +03:00

Pedestal with reitit-http & 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/spec/plus x:=1 y:=20

http GET :3000/swagger.json

License

Copyright © 2018 Metosin Oy