reitit/examples/ring-swagger
2018-04-20 08:30:20 +03:00
..
src/example initial example app 2018-04-20 08:30:20 +03:00
.gitignore initial example app 2018-04-20 08:30:20 +03:00
project.clj initial example app 2018-04-20 08:30:20 +03:00
README.md initial example app 2018-04-20 08:30:20 +03:00

WIP: Ring + Swagger example

TODO:

  • Serve Swagger-ui.

Usage

> lein repl

(require '[example.server :as server])

(server/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 Metosin Oy