reitit/examples/http-swagger
2018-08-25 13:28:44 +03:00
..
resources example copied 2018-08-25 13:28:44 +03:00
src/example example copied 2018-08-25 13:28:44 +03:00
.gitignore example copied 2018-08-25 13:28:44 +03:00
project.clj example copied 2018-08-25 13:28:44 +03:00
README.md example copied 2018-08-25 13:28:44 +03:00
swagger-ui.png example copied 2018-08-25 13:28:44 +03:00

Http with Swagger example

Usage

> lein repl
(start)

To test the endpoints using httpie:

http GET :3000/api/schema/plus x==1 y==20
http GET :3000/api/spec/plus x==1 y==20

http GET :3000/api/swagger.json

License

Copyright © 2017-2018 Metosin Oy