From 182524baac575ab10bbcf2270effbcf4822f008d Mon Sep 17 00:00:00 2001 From: Wes Morgan Date: Mon, 17 Apr 2023 11:35:28 -0600 Subject: [PATCH] Update swagger test expectations for latest malli changes --- test/cljc/reitit/swagger_test.clj | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/cljc/reitit/swagger_test.clj b/test/cljc/reitit/swagger_test.clj index d2d18c31..38f6bf0c 100644 --- a/test/cljc/reitit/swagger_test.clj +++ b/test/cljc/reitit/swagger_test.clj @@ -138,6 +138,7 @@ expected {:x-id #{::math} :swagger "2.0" :info {:title "my-api"} + :definitions {} :paths {"/api/spec/plus/{z}" {:patch {:parameters [] :summary "patch" :operationId "Patch" @@ -223,6 +224,7 @@ 400 {:schema {:type "string"} :description "kosh"} 500 {:description "fail"}} + :definitions nil :summary "plus"} :post {:parameters [{:in "body", :name "body", @@ -247,6 +249,7 @@ 400 {:schema {:type "string"} :description "kosh"} 500 {:description "fail"}} + :definitions nil :summary "plus with body"}} "/api/schema/plus/{z}" {:get {:parameters [{:description "" :format "int32"