reitit/examples/ring-spec-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 inital commit 2018-09-05 13:14:58 +03:00
src/example doc: add openapi response content type to examples/ring-spec-swagger 2023-08-28 11:22:42 +03:00
test/example Add clj-kondo and fix most linting warnings 2020-03-05 13:32:48 +02:00
.gitignore inital commit 2018-09-05 13:14:58 +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: update examples/ring-spec-swagger to include OpenAPI 3 2023-05-03 17:17:25 +03:00
swagger.png doc: update examples/ring-spec-swagger to include OpenAPI 3 2023-05-03 17:17:25 +03:00

reitit-ring, clojure.spec, 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-2018 Metosin Oy