clojure.api.mustache Maven / Gradle / Ivy
The newest version!
{{=< >=}}(ns .
(:require [.core :refer [call-api check-required-params with-collection-format]])
(:import (java.io File)))
<#operations><#operation>
(defn -with-http-info
"<&summary><#notes>
<¬es>"<#hasOptionalParams>
([<#allParams><#required><#isFile>^File ] (-with-http-info<#allParams><#required> nil))
<#hasOptionalParams>([<#allParams><#required><#isFile>^File <#hasOptionalParams>{:keys [<#allParams><^required><#isFile>^File ]}]<#hasRequiredParams>
<#hasOptionalParams> (check-required-params<#allParams><#required> )
<#hasOptionalParams> (call-api "" :
<#hasOptionalParams> {:path-params {<#pathParams>"" <#collectionFormat>(with-collection-format :) <^collectionFormat> }
<#hasOptionalParams> :header-params {<#headerParams>"" <#collectionFormat>(with-collection-format :) <^collectionFormat> }
<#hasOptionalParams> :query-params {<#queryParams>"" <#collectionFormat>(with-collection-format :) <^collectionFormat> }
<#hasOptionalParams> :form-params {<#formParams>"" <#collectionFormat>(with-collection-format :) <^collectionFormat> }<#bodyParam>
<#hasOptionalParams> :body-param
<#hasOptionalParams> :content-types [<#consumes>"<& mediaType>"<#hasMore> ]
<#hasOptionalParams> :accepts [<#produces>"<& mediaType>"<#hasMore> ]
<#hasOptionalParams> :auth-names [<#authMethods>"<&name>"<#hasMore> ]})<#hasOptionalParams>))
(defn
"<&summary><#notes>
<¬es>"<#hasOptionalParams>
([<#allParams><#required><#isFile>^File ] (<#allParams><#required> nil))
<#hasOptionalParams>([<#allParams><#required><#isFile>^File <#hasOptionalParams>optional-params]
<#hasOptionalParams> (:data (-with-http-info<#allParams><#required> <#hasOptionalParams> optional-params))<#hasOptionalParams>))