Implement swagger client
sarnowski opened this issue · comments
Tobias Sarnowski commented
Similar to the ring router, implement an http client, that uses a swagger definition to construct an appropriate request.
(def call (create-client "api.yaml"))
(call "my-operation-id" {:path {:param1 "value1"}})
Client will figure out operation by operationId and then construct request with the given parameter map.