Skip to content

Commit

Permalink
Fix: fix swagger ring tests, malli keys are now strings, not keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
Martín Varela committed Feb 9, 2024
1 parent 989ab72 commit f99a768
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/cljc/reitit/swagger_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -161,14 +161,14 @@
expected {:x-id #{::math}
:swagger "2.0"
:info {:title "my-api"}
:definitions {::req-key {:type "string"
:definitions {"reitit.swagger-test/req-key" {:type "string"
:x-anyOf [{:type "string"}
{:type "string"}]}
::req-val {:type "object"
"reitit.swagger-test/req-val" {:type "object"
:x-anyOf [{:type "object"}
{:type "string"}]}
::resp-map {:type "object"},
::resp-string {:type "string"
"reitit.swagger-test/resp-map" {:type "object"},
"reitit.swagger-test/resp-string" {:type "string"
:minLength 1}}
:paths {"/api/spec/plus/{z}" {:patch {:parameters []
:summary "patch"
Expand Down

0 comments on commit f99a768

Please sign in to comment.