mirror of
https://github.com/metosin/reitit.git
synced 2025-12-17 16:31:11 +00:00
| .. | ||
| resources | ||
| src/example | ||
| .gitignore | ||
| project.clj | ||
| README.md | ||
| swagger.png | ||
Ring 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
- swagger.json: http://localhost:3000/api/swagger.json
- swagger-ui: http://localhost:3000/api-docs/
License
Copyright © 2017-2018 Metosin Oy