File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 148148 transformed)
149149 route))
150150
151- (defn get-response-ref [v]
151+ (defn get-response-ref ^String [v]
152152 (some-> (-> v
153153 :content
154154 vals
171171 (update-in [:requestBodySchemas ] conj {(keyword body-name) (:requestBody definition )})
172172 (update-in [:requestBodyDefinitions method] conj (str " #/components/requestBodies/" body-name)))) acc)
173173 responses-acc (reduce-kv (fn [acc-res k v]
174- (let [response-path ^String (get-response-ref v)
175- response-name ^String (if response-path (last (.split response-path " /" )) (gensym ))
174+ (let [response-path (get-response-ref v)
175+ response-name (if response-path (last (.split response-path " /" )) (gensym ))
176176 response-path-val (keyword response-name)]
177177 (-> acc-res
178178 (update-in [:responses method k] conj response-path)
You can’t perform that action at this time.
0 commit comments