reitit/examples/ring-spec-swagger
Joel Kaasinen 373ea9bb62
Some checks are pending
testsuite / Clojure 11 (Java 11) (push) Waiting to run
testsuite / Clojure 11 (Java 17) (push) Waiting to run
testsuite / Clojure 11 (Java 21) (push) Waiting to run
testsuite / Clojure 11 (Java 25) (push) Waiting to run
testsuite / Clojure 12 (Java 11) (push) Waiting to run
testsuite / Clojure 12 (Java 17) (push) Waiting to run
testsuite / Clojure 12 (Java 21) (push) Waiting to run
testsuite / Clojure 12 (Java 25) (push) Waiting to run
testsuite / ClojureScript (push) Waiting to run
testsuite / Lint cljdoc.edn (push) Waiting to run
testsuite / Check cljdoc analysis (push) Waiting to run
Release 0.10.0
2026-01-09 10:07:15 +02:00
..
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 Release 0.10.0 2026-01-09 10:07:15 +02:00
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