reitit/examples/http-swagger
Joel Kaasinen f4da07c222
Some checks failed
testsuite / Clojure (Java 11) (push) Has been cancelled
testsuite / Clojure (Java 17) (push) Has been cancelled
testsuite / Clojure (Java 21) (push) Has been cancelled
testsuite / ClojureScript (push) Has been cancelled
testsuite / Lint cljdoc.edn (push) Has been cancelled
testsuite / Check cljdoc analysis (push) Has been cancelled
Release 0.9.2
2025-10-28 14:57:54 +02:00
..
resources http-swagger example 2018-09-07 23:11:59 +03:00
src/example fix: :content coercion and :tags in examples/http-swagger 2023-09-11 07:48:41 +03:00
.gitignore http-swagger example 2018-09-07 23:11:59 +03:00
project.clj Release 0.9.2 2025-10-28 14:57:54 +02:00
README.md doc: openapi in examples/http-swagger 2023-03-08 11:22:02 +02:00
swagger.png Update http-swagger example 2018-10-21 23:11:09 +03:00

Http with Swagger/OpenAPI example

Usage

> lein repl
(start)

To test the endpoints using httpie:

http GET :3000/math/plus x==1 y==20
http POST :3000/math/plus x:=1 y:=2

http GET :3000/async results==1 seed==reitit

License

Copyright © 2018-2023 Metosin Oy