reitit/examples/ring-malli-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 copy spec-example for malli 2019-12-28 00:52:40 +02:00
src/example Merge remote-tracking branch 'origin/master' into fix-openapi-examples 2023-09-11 07:53:15 +03:00
test/example Add clj-kondo and fix most linting warnings 2020-03-05 13:32:48 +02:00
.gitignore copy spec-example for malli 2019-12-28 00:52:40 +02:00
project.clj Update Clojure version of all Swagger Examples to 1.11 2023-09-28 22:03:43 +05:30
README.md doc: update examples/ring-malli-swagger 2023-05-03 17:17:25 +03:00
swagger.png doc: update examples/ring-malli-swagger 2023-05-03 17:17:25 +03:00

reitit-ring, malli, swagger, openapi 3

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:=20

http GET :3000/swagger.json

License

Copyright © 2017-2023 Metosin Oy