reitit/examples/http-swagger
Vedang Manerikar bdadb0fa8d Update Clojure version of all Swagger Examples to 1.11
As of 497da675b9 (committed 1st Sept
2023), `swagger.cljc` uses the `update-vals` function, introduced in
Clojure 1.11.

Due to this, all the example projects fail to run since the
`project.clj` specifies Clojure version 1.10.

This commit updates the Clojure version for such examples, fixing the
problem.

Fixes: #651
2023-09-28 22:03:43 +05:30
..
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 Update Clojure version of all Swagger Examples to 1.11 2023-09-28 22:03:43 +05:30
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