compojure-api
compojure-api copied to clipboard
Sweet web apis with Compojure & Swagger
this page http://metosin.github.io/compojure-api/doc/compojure.api.middleware.html has a broken link https://github.com/metosin/muuntaja/wiki/Configuration. as does this page https://github.com/metosin/compojure-api/blob/master/CHANGELOG.md with this broken link https://github.com/metosin/muuntaja/wiki/Configuration It probably should be this https://github.com/metosin/muuntaja/blob/master/doc/Configuration.md
## Library Version(s) 2.0.0-alpha31 ## Problem Swagger can display a [UI](https://stackoverflow.com/questions/49582559/how-to-document-dynamic-query-parameter-names-in-openapi-swagger ) for setting dynamic query parameters, but I can't figure out how to do it with compojure-api. I have...
## Library Version(s) `[metosin/compojure-api "1.1.13"] + [prismatic/schema "0.1.12"]` ## Problem We were experiencing high memory usage, and eventually found out that the issue was introduced with the upgrade to `prismatic/schema...
## Library Version(s) 2.0.0-alpha31 ## Problem The :security or :deprecated in route not working, this methods is not been implemented in compojure.api.meta as a restructure function, in that case i...
Bump fasterjackson version, since the current version has a known high severity vulnerability, which is fixed in later versions.
**WhiteSource flagged vulnerability issue in one of the dependent libraries - jackson-databind version 2.10.1** **Following is the maven dependency tree for ring-defaults:** [INFO] +- metosin:compojure-api:jar:2.0.0-alpha31:compile [INFO] | +- potemkin:potemkin:jar:0.4.5:compile [INFO]...
OpenAPI?
## Library Version(s) ```clojure [metosin/compojure-api "2.0.0-alpha31"] [metosin/spec-tools "0.10.4"] ``` ## Problem I can't seem to find a standard way to generate OpenAPI specification from my `api`. I have the swagger...
## Library Version(s) 2.0.0-alpha31 ## Problem ```clojure (s/def ::version (s/and int? #{1 2})) (GET "/test/:v" request :path-params [v :- ::version] (r/ok v)) ``` when requesting `GET /test/1` results in ```clojure...
## Library Version(s) Latest ## Problem Potemkin's `import-vars` isn't a great mechanism. One can find argumentation for that from very reputed sources in https://groups.google.com/g/clojure/c/Ng_GXYSrKmI/m/q0cxahB3BAAJ - it's worth a read :)...
It would be incredibly handy to be able to filter out unwanted keys from an object based on the schema rather than reporting errors. I noticed the [select-schema](https://github.com/metosin/schema-tools/#select-schema ) function...