reitit/examples/ring-swagger
Tommi Reiman c23f591283 0.3.10
2019-10-08 10:28:25 +03:00
..
resources upload & download example 2018-08-02 16:12:32 +03:00
src/example Update swagger-examples to have closed-spec validation 2019-05-11 14:25:25 +03:00
.gitignore initial example app 2018-04-20 08:30:20 +03:00
project.clj 0.3.10 2019-10-08 10:28:25 +03:00
README.md update README 2018-09-05 13:14:31 +03:00
swagger.png docs 2018-08-22 22:45:13 +03:00

Ring with 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 © 2017-2018 Metosin Oy