<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><meta name="viewport" content="width=device-width, initial-scale=1" /><title>OpenAPIPetstore.API.Pet</title><link href="linuwial.css" rel="stylesheet" type="text/css" title="Linuwial" /><link rel="stylesheet" type="text/css" href="quick-jump.css" /><link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=PT+Sans:400,400i,700" /><script src="haddock-bundle.min.js" async="async" type="text/javascript"></script><script type="text/x-mathjax-config">MathJax.Hub.Config({ tex2jax: { processClass: "mathjax", ignoreClass: ".*" } });</script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script></head><body><div id="package-header"><span class="caption">openapi-petstore-0.1.0.0: Auto-generated openapi-petstore API Client</span><ul class="links" id="page-menu"><li><a href="src/OpenAPIPetstore.API.Pet.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>Safe-Inferred</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">OpenAPIPetstore.API.Pet</p></div><div id="table-of-contents"><div id="contents-list"><p class="caption" onclick="window.scrollTo(0,0)">Contents</p><ul><li><a href="#g:1">Operations</a><ul><li><a href="#g:2">Pet</a><ul><li><a href="#g:3">addPet</a></li><li><a href="#g:4">deletePet</a></li><li><a href="#g:5">findPetsByStatus</a></li><li><a href="#g:6">findPetsByTags</a></li><li><a href="#g:7">getPetById</a></li><li><a href="#g:8">updatePet</a></li><li><a href="#g:9">updatePetWithForm</a></li><li><a href="#g:10">uploadFile</a></li><li><a href="#g:11">uploadFileWithRequiredFile</a></li></ul></li></ul></li></ul></div></div><div id="description"><p class="caption">Description</p><div class="doc empty">&nbsp;</div></div><div id="synopsis"><details id="syn"><summary>Synopsis</summary><ul class="details-toggle" data-details-id="syn"><li class="src short"><a href="#v:addPet">addPet</a> :: (<a href="OpenAPIPetstore-MimeTypes.html#t:Consumes" title="OpenAPIPetstore.MimeTypes">Consumes</a> <a href="OpenAPIPetstore-API-Pet.html#t:AddPet" title="OpenAPIPetstore.API.Pet">AddPet</a> contentType, <a href="OpenAPIPetstore-MimeTypes.html#t:MimeRender" title="OpenAPIPetstore.MimeTypes">MimeRender</a> contentType <a href="OpenAPIPetstore-Model.html#t:Pet" title="OpenAPIPetstore.Model">Pet</a>) =&gt; <a href="OpenAPIPetstore-MimeTypes.html#t:ContentType" title="OpenAPIPetstore.MimeTypes">ContentType</a> contentType -&gt; <a href="OpenAPIPetstore-Model.html#t:Pet" title="OpenAPIPetstore.Model">Pet</a> -&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-Pet.html#t:AddPet" title="OpenAPIPetstore.API.Pet">AddPet</a> contentType <a href="OpenAPIPetstore-MimeTypes.html#t:NoContent" title="OpenAPIPetstore.MimeTypes">NoContent</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeNoContent" title="OpenAPIPetstore.MimeTypes">MimeNoContent</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:AddPet">AddPet</a></li><li class="src short"><a href="#v:deletePet">deletePet</a> :: <a href="OpenAPIPetstore-Model.html#t:PetId" title="OpenAPIPetstore.Model">PetId</a> -&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-Pet.html#t:DeletePet" title="OpenAPIPetstore.API.Pet">DeletePet</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeNoContent" title="OpenAPIPetstore.MimeTypes">MimeNoContent</a> <a href="OpenAPIPetstore-MimeTypes.html#t:NoContent" title="OpenAPIPetstore.MimeTypes">NoContent</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeNoContent" title="OpenAPIPetstore.MimeTypes">MimeNoContent</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:DeletePet">DeletePet</a></li><li class="src short"><a href="#v:findPetsByStatus">findPetsByStatus</a> :: <a href="OpenAPIPetstore-MimeTypes.html#t:Accept" title="OpenAPIPetstore.MimeTypes">Accept</a> accept -&gt; <a href="OpenAPIPetstore-Model.html#t:Status" title="OpenAPIPetstore.Model">Status</a> -&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-Pet.html#t:FindPetsByStatus" title="OpenAPIPetstore.API.Pet">FindPetsByStatus</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeNoContent" title="OpenAPIPetstore.MimeTypes">MimeNoContent</a> [<a href="OpenAPIPetstore-Model.html#t:Pet" title="OpenAPIPetstore.Model">Pet</a>] accept</li><li class="src short"><span class="keyword">data</span> <a href="#t:FindPetsByStatus">FindPetsByStatus</a></li><li class="src short"><a href="#v:findPetsByTags">findPetsByTags</a> :: <a href="OpenAPIPetstore-MimeTypes.html#t:Accept" title="OpenAPIPetstore.MimeTypes">Accept</a> accept -&gt; <a href="OpenAPIPetstore-Model.html#t:Tags" title="OpenAPIPetstore.Model">Tags</a> -&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-Pet.html#t:FindPetsByTags" title="OpenAPIPetstore.API.Pet">FindPetsByTags</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeNoContent" title="OpenAPIPetstore.MimeTypes">MimeNoContent</a> [<a href="OpenAPIPetstore-Model.html#t:Pet" title="OpenAPIPetstore.Model">Pet</a>] accept</li><li class="src short"><span class="keyword">data</span> <a href="#t:FindPetsByTags">FindPetsByTags</a></li><li class="src short"><a href="#v:getPetById">getPetById</a> :: <a href="OpenAPIPetstore-MimeTypes.html#t:Accept" title="OpenAPIPetstore.MimeTypes">Accept</a> accept -&gt; <a href="OpenAPIPetstore-Model.html#t:PetId" title="OpenAPIPetstore.Model">PetId</a> -&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-Pet.html#t:GetPetById" title="OpenAPIPetstore.API.Pet">GetPetById</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeNoContent" title="OpenAPIPetstore.MimeTypes">MimeNoContent</a> <a href="OpenAPIPetstore-Model.html#t:Pet" title="OpenAPIPetstore.Model">Pet</a> accept</li><li class="src short"><span class="keyword">data</span> <a href="#t:GetPetById">GetPetById</a></li><li class="src short"><a href="#v:updatePet">updatePet</a> :: (<a href="OpenAPIPetstore-MimeTypes.html#t:Consumes" title="OpenAPIPetstore.MimeTypes">Consumes</a> <a href="OpenAPIPetstore-API-Pet.html#t:UpdatePet" title="OpenAPIPetstore.API.Pet">UpdatePet</a> contentType, <a href="OpenAPIPetstore-MimeTypes.html#t:MimeRender" title="OpenAPIPetstore.MimeTypes">MimeRender</a> contentType <a href="OpenAPIPetstore-Model.html#t:Pet" title="OpenAPIPetstore.Model">Pet</a>) =&gt; <a href="OpenAPIPetstore-MimeTypes.html#t:ContentType" title="OpenAPIPetstore.MimeTypes">ContentType</a> contentType -&gt; <a href="OpenAPIPetstore-Model.html#t:Pet" title="OpenAPIPetstore.Model">Pet</a> -&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-Pet.html#t:UpdatePet" title="OpenAPIPetstore.API.Pet">UpdatePet</a> contentType <a href="OpenAPIPetstore-MimeTypes.html#t:NoContent" title="OpenAPIPetstore.MimeTypes">NoContent</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeNoContent" title="OpenAPIPetstore.MimeTypes">MimeNoContent</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:UpdatePet">UpdatePet</a></li><li class="src short"><a href="#v:updatePetWithForm">updatePetWithForm</a> :: <a href="OpenAPIPetstore-MimeTypes.html#t:Consumes" title="OpenAPIPetstore.MimeTypes">Consumes</a> <a href="OpenAPIPetstore-API-Pet.html#t:UpdatePetWithForm" title="OpenAPIPetstore.API.Pet">UpdatePetWithForm</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeFormUrlEncoded" title="OpenAPIPetstore.MimeTypes">MimeFormUrlEncoded</a> =&gt; <a href="OpenAPIPetstore-Model.html#t:PetId" title="OpenAPIPetstore.Model">PetId</a> -&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-Pet.html#t:UpdatePetWithForm" title="OpenAPIPetstore.API.Pet">UpdatePetWithForm</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeFormUrlEncoded" title="OpenAPIPetstore.MimeTypes">MimeFormUrlEncoded</a> <a href="OpenAPIPetstore-MimeTypes.html#t:NoContent" title="OpenAPIPetstore.MimeTypes">NoContent</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeNoContent" title="OpenAPIPetstore.MimeTypes">MimeNoContent</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:UpdatePetWithForm">UpdatePetWithForm</a></li><li class="src short"><a href="#v:uploadFile">uploadFile</a> :: <a href="OpenAPIPetstore-MimeTypes.html#t:Consumes" title="OpenAPIPetstore.MimeTypes">Consumes</a> <a href="OpenAPIPetstore-API-Pet.html#t:UploadFile" title="OpenAPIPetstore.API.Pet">UploadFile</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeMultipartFormData" title="OpenAPIPetstore.MimeTypes">MimeMultipartFormData</a> =&gt; <a href="OpenAPIPetstore-Model.html#t:PetId" title="OpenAPIPetstore.Model">PetId</a> -&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-Pet.html#t:UploadFile" title="OpenAPIPetstore.API.Pet">UploadFile</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeMultipartFormData" title="OpenAPIPetstore.MimeTypes">MimeMultipartFormData</a> <a href="OpenAPIPetstore-Model.html#t:ApiResponse" title="OpenAPIPetstore.Model">ApiResponse</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeJSON" title="OpenAPIPetstore.MimeTypes">MimeJSON</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:UploadFile">UploadFile</a></li><li class="src short"><a href="#v:uploadFileWithRequiredFile">uploadFileWithRequiredFile</a> :: <a href="OpenAPIPetstore-MimeTypes.html#t:Consumes" title="OpenAPIPetstore.MimeTypes">Consumes</a> <a href="OpenAPIPetstore-API-Pet.html#t:UploadFileWithRequiredFile" title="OpenAPIPetstore.API.Pet">UploadFileWithRequiredFile</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeMultipartFormData" title="OpenAPIPetstore.MimeTypes">MimeMultipartFormData</a> =&gt; <a href="OpenAPIPetstore-Model.html#t:RequiredFile" title="OpenAPIPetstore.Model">RequiredFile</a> -&gt; <a href="OpenAPIPetstore-Model.html#t:PetId" title="OpenAPIPetstore.Model">PetId</a> -&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-Pet.html#t:UploadFileWithRequiredFile" title="OpenAPIPetstore.API.Pet">UploadFileWithRequiredFile</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeMultipartFormData" title="OpenAPIPetstore.MimeTypes">MimeMultipartFormData</a> <a href="OpenAPIPetstore-Model.html#t:ApiResponse" title="OpenAPIPetstore.Model">ApiResponse</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeJSON" title="OpenAPIPetstore.MimeTypes">MimeJSON</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:UploadFileWithRequiredFile">UploadFileWithRequiredFile</a></li></ul></details></div><div id="interface"><a href="#g:1" id="g:1"><h1>Operations</h1></a><a href="#g:2" id="g:2"><h2>Pet</h2></a><a href="#g:3" id="g:3"><h3>addPet</h3></a><div class="top"><p class="src"><a id="v:addPet" class="def">addPet</a> <a href="src/OpenAPIPetstore.API.Pet.html#addPet" class="link">Source</a> <a href="#v:addPet" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="OpenAPIPetstore-MimeTypes.html#t:Consumes" title="OpenAPIPetstore.MimeTypes">Consumes</a> <a href="OpenAPIPetstore-API-Pet.html#t:AddPet" title="OpenAPIPetstore.API.Pet">AddPet</a> contentType, <a href="OpenAPIPetstore-MimeTypes.html#t:MimeRender" title="OpenAPIPetstore.MimeTypes">MimeRender</a> contentType <a href="OpenAPIPetstore-Model.html#t:Pet" title="OpenAPIPetstore.Model">Pet</a>)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="OpenAPIPetstore-MimeTypes.html#t:ContentType" title="OpenAPIPetstore.MimeTypes">ContentType</a> contentType</td><td class="doc"><p>request content-type (<code><a href="OpenAPIPetstore-MimeTypes.html#t:MimeType" title="OpenAPIPetstore.MimeTypes">MimeType</a></code>)</p></td></tr><tr><td class="src">-&gt; <a href="OpenAPIPetstore-Model.html#t:Pet" title="OpenAPIPetstore.Model">Pet</a></td><td class="doc"><p>&quot;body&quot; -  Pet object that needs to be added to the store</p></td></tr><tr><td class="src">-&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-Pet.html#t:AddPet" title="OpenAPIPetstore.API.Pet">AddPet</a> contentType <a href="OpenAPIPetstore-MimeTypes.html#t:NoContent" title="OpenAPIPetstore.MimeTypes">NoContent</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeNoContent" title="OpenAPIPetstore.MimeTypes">MimeNoContent</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><pre>POST /pet</pre><p>Add a new pet to the store</p><p>AuthMethod: <code><a href="OpenAPIPetstore-Model.html#t:AuthOAuthPetstoreAuth" title="OpenAPIPetstore.Model">AuthOAuthPetstoreAuth</a></code></p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:AddPet" class="def">AddPet</a> <a href="src/OpenAPIPetstore.API.Pet.html#AddPet" class="link">Source</a> <a href="#t:AddPet" class="selflink">#</a></p><div class="subs instances"><h4 class="instances details-toggle-control details-toggle" data-details-id="i:AddPet">Instances</h4><details id="i:AddPet" open="open"><summary class="hide-when-js-enabled">Instances details</summary><table><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:AddPet:HasBodyParam:1"></span> <a href="OpenAPIPetstore-Core.html#t:HasBodyParam" title="OpenAPIPetstore.Core">HasBodyParam</a> <a href="OpenAPIPetstore-API-Pet.html#t:AddPet" title="OpenAPIPetstore.API.Pet">AddPet</a> <a href="OpenAPIPetstore-Model.html#t:Pet" title="OpenAPIPetstore.Model">Pet</a></span> <a href="src/OpenAPIPetstore.API.Pet.html#line-81" class="link">Source</a> <a href="#t:AddPet" class="selflink">#</a></td><td class="doc"><p><em>Body Param</em> &quot;body&quot; - Pet object that needs to be added to the store</p></td></tr><tr><td colspan="2"><details id="i:id:AddPet:HasBodyParam:1"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="OpenAPIPetstore-API-Pet.html">OpenAPIPetstore.API.Pet</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:setBodyParam">setBodyParam</a> :: (<a href="OpenAPIPetstore-MimeTypes.html#t:Consumes" title="OpenAPIPetstore.MimeTypes">Consumes</a> <a href="OpenAPIPetstore-API-Pet.html#t:AddPet" title="OpenAPIPetstore.API.Pet">AddPet</a> contentType, <a href="OpenAPIPetstore-MimeTypes.html#t:MimeRender" title="OpenAPIPetstore.MimeTypes">MimeRender</a> contentType <a href="OpenAPIPetstore-Model.html#t:Pet" title="OpenAPIPetstore.Model">Pet</a>) =&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-Pet.html#t:AddPet" title="OpenAPIPetstore.API.Pet">AddPet</a> contentType res accept -&gt; <a href="OpenAPIPetstore-Model.html#t:Pet" title="OpenAPIPetstore.Model">Pet</a> -&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-Pet.html#t:AddPet" title="OpenAPIPetstore.API.Pet">AddPet</a> contentType res accept <a href="src/OpenAPIPetstore.Core.html#setBodyParam" class="link">Source</a> <a href="#v:setBodyParam" class="selflink">#</a></p></div></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:AddPet:Consumes:2"></span> <a href="OpenAPIPetstore-MimeTypes.html#t:Consumes" title="OpenAPIPetstore.MimeTypes">Consumes</a> <a href="OpenAPIPetstore-API-Pet.html#t:AddPet" title="OpenAPIPetstore.API.Pet">AddPet</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeJSON" title="OpenAPIPetstore.MimeTypes">MimeJSON</a></span> <a href="src/OpenAPIPetstore.API.Pet.html#line-86" class="link">Source</a> <a href="#t:AddPet" class="selflink">#</a></td><td class="doc"><pre>application/json</pre></td></tr><tr><td colspan="2"><details id="i:id:AddPet:Consumes:2"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="OpenAPIPetstore-API-Pet.html">OpenAPIPetstore.API.Pet</a></p></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:AddPet:Consumes:3"></span> <a href="OpenAPIPetstore-MimeTypes.html#t:Consumes" title="OpenAPIPetstore.MimeTypes">Consumes</a> <a href="OpenAPIPetstore-API-Pet.html#t:AddPet" title="OpenAPIPetstore.API.Pet">AddPet</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeXML" title="OpenAPIPetstore.MimeTypes">MimeXML</a></span> <a href="src/OpenAPIPetstore.API.Pet.html#line-84" class="link">Source</a> <a href="#t:AddPet" class="selflink">#</a></td><td class="doc"><pre>application/xml</pre></td></tr><tr><td colspan="2"><details id="i:id:AddPet:Consumes:3"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="OpenAPIPetstore-API-Pet.html">OpenAPIPetstore.API.Pet</a></p></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:AddPet:Produces:4"></span> <a href="OpenAPIPetstore-MimeTypes.html#t:Produces" title="OpenAPIPetstore.MimeTypes">Produces</a> <a href="OpenAPIPetstore-API-Pet.html#t:AddPet" title="OpenAPIPetstore.API.Pet">AddPet</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeNoContent" title="OpenAPIPetstore.MimeTypes">MimeNoContent</a></span> <a href="src/OpenAPIPetstore.API.Pet.html#line-88" class="link">Source</a> <a href="#t:AddPet" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:AddPet:Produces:4"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="OpenAPIPetstore-API-Pet.html">OpenAPIPetstore.API.Pet</a></p></details></td></tr></table></details></div></div><a href="#g:4" id="g:4"><h3>deletePet</h3></a><div class="top"><p class="src"><a id="v:deletePet" class="def">deletePet</a> <a href="src/OpenAPIPetstore.API.Pet.html#deletePet" class="link">Source</a> <a href="#v:deletePet" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="OpenAPIPetstore-Model.html#t:PetId" title="OpenAPIPetstore.Model">PetId</a></td><td class="doc"><p>&quot;petId&quot; -  Pet id to delete</p></td></tr><tr><td class="src">-&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-Pet.html#t:DeletePet" title="OpenAPIPetstore.API.Pet">DeletePet</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeNoContent" title="OpenAPIPetstore.MimeTypes">MimeNoContent</a> <a href="OpenAPIPetstore-MimeTypes.html#t:NoContent" title="OpenAPIPetstore.MimeTypes">NoContent</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeNoContent" title="OpenAPIPetstore.MimeTypes">MimeNoContent</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><pre>DELETE /pet/{petId}</pre><p>Deletes a pet</p><p>AuthMethod: <code><a href="OpenAPIPetstore-Model.html#t:AuthOAuthPetstoreAuth" title="OpenAPIPetstore.Model">AuthOAuthPetstoreAuth</a></code></p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:DeletePet" class="def">DeletePet</a> <a href="src/OpenAPIPetstore.API.Pet.html#DeletePet" class="link">Source</a> <a href="#t:DeletePet" class="selflink">#</a></p><div class="subs instances"><h4 class="instances details-toggle-control details-toggle" data-details-id="i:DeletePet">Instances</h4><details id="i:DeletePet" open="open"><summary class="hide-when-js-enabled">Instances details</summary><table><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:DeletePet:HasOptionalParam:1"></span> <a href="OpenAPIPetstore-Core.html#t:HasOptionalParam" title="OpenAPIPetstore.Core">HasOptionalParam</a> <a href="OpenAPIPetstore-API-Pet.html#t:DeletePet" title="OpenAPIPetstore.API.Pet">DeletePet</a> <a href="OpenAPIPetstore-Model.html#t:ApiKey" title="OpenAPIPetstore.Model">ApiKey</a></span> <a href="src/OpenAPIPetstore.API.Pet.html#line-107" class="link">Source</a> <a href="#t:DeletePet" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:DeletePet:HasOptionalParam:1"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="OpenAPIPetstore-API-Pet.html">OpenAPIPetstore.API.Pet</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:applyOptionalParam">applyOptionalParam</a> :: <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-Pet.html#t:DeletePet" title="OpenAPIPetstore.API.Pet">DeletePet</a> contentType res accept -&gt; <a href="OpenAPIPetstore-Model.html#t:ApiKey" title="OpenAPIPetstore.Model">ApiKey</a> -&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-Pet.html#t:DeletePet" title="OpenAPIPetstore.API.Pet">DeletePet</a> contentType res accept <a href="src/OpenAPIPetstore.Core.html#applyOptionalParam" class="link">Source</a> <a href="#v:applyOptionalParam" class="selflink">#</a></p><p class="src"><a href="#v:-45--38--45-">(-&amp;-)</a> :: <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-Pet.html#t:DeletePet" title="OpenAPIPetstore.API.Pet">DeletePet</a> contentType res accept -&gt; <a href="OpenAPIPetstore-Model.html#t:ApiKey" title="OpenAPIPetstore.Model">ApiKey</a> -&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-Pet.html#t:DeletePet" title="OpenAPIPetstore.API.Pet">DeletePet</a> contentType res accept <a href="src/OpenAPIPetstore.Core.html#-%26-" class="link">Source</a> <a href="#v:-45--38--45-" class="selflink">#</a></p></div></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:DeletePet:Produces:2"></span> <a href="OpenAPIPetstore-MimeTypes.html#t:Produces" title="OpenAPIPetstore.MimeTypes">Produces</a> <a href="OpenAPIPetstore-API-Pet.html#t:DeletePet" title="OpenAPIPetstore.API.Pet">DeletePet</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeNoContent" title="OpenAPIPetstore.MimeTypes">MimeNoContent</a></span> <a href="src/OpenAPIPetstore.API.Pet.html#line-110" class="link">Source</a> <a href="#t:DeletePet" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:DeletePet:Produces:2"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="OpenAPIPetstore-API-Pet.html">OpenAPIPetstore.API.Pet</a></p></details></td></tr></table></details></div></div><a href="#g:5" id="g:5"><h3>findPetsByStatus</h3></a><div class="top"><p class="src"><a id="v:findPetsByStatus" class="def">findPetsByStatus</a> <a href="src/OpenAPIPetstore.API.Pet.html#findPetsByStatus" class="link">Source</a> <a href="#v:findPetsByStatus" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="OpenAPIPetstore-MimeTypes.html#t:Accept" title="OpenAPIPetstore.MimeTypes">Accept</a> accept</td><td class="doc"><p>request accept (<code><a href="OpenAPIPetstore-MimeTypes.html#t:MimeType" title="OpenAPIPetstore.MimeTypes">MimeType</a></code>)</p></td></tr><tr><td class="src">-&gt; <a href="OpenAPIPetstore-Model.html#t:Status" title="OpenAPIPetstore.Model">Status</a></td><td class="doc"><p>&quot;status&quot; -  Status values that need to be considered for filter</p></td></tr><tr><td class="src">-&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-Pet.html#t:FindPetsByStatus" title="OpenAPIPetstore.API.Pet">FindPetsByStatus</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeNoContent" title="OpenAPIPetstore.MimeTypes">MimeNoContent</a> [<a href="OpenAPIPetstore-Model.html#t:Pet" title="OpenAPIPetstore.Model">Pet</a>] accept</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><pre>GET /pet/findByStatus</pre><p>Finds Pets by status</p><p>Multiple status values can be provided with comma separated strings</p><p>AuthMethod: <code><a href="OpenAPIPetstore-Model.html#t:AuthOAuthPetstoreAuth" title="OpenAPIPetstore.Model">AuthOAuthPetstoreAuth</a></code></p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:FindPetsByStatus" class="def">FindPetsByStatus</a> <a href="src/OpenAPIPetstore.API.Pet.html#FindPetsByStatus" class="link">Source</a> <a href="#t:FindPetsByStatus" class="selflink">#</a></p><div class="subs instances"><h4 class="instances details-toggle-control details-toggle" data-details-id="i:FindPetsByStatus">Instances</h4><details id="i:FindPetsByStatus" open="open"><summary class="hide-when-js-enabled">Instances details</summary><table><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:FindPetsByStatus:Produces:1"></span> <a href="OpenAPIPetstore-MimeTypes.html#t:Produces" title="OpenAPIPetstore.MimeTypes">Produces</a> <a href="OpenAPIPetstore-API-Pet.html#t:FindPetsByStatus" title="OpenAPIPetstore.API.Pet">FindPetsByStatus</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeJSON" title="OpenAPIPetstore.MimeTypes">MimeJSON</a></span> <a href="src/OpenAPIPetstore.API.Pet.html#line-136" class="link">Source</a> <a href="#t:FindPetsByStatus" class="selflink">#</a></td><td class="doc"><pre>application/json</pre></td></tr><tr><td colspan="2"><details id="i:id:FindPetsByStatus:Produces:1"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="OpenAPIPetstore-API-Pet.html">OpenAPIPetstore.API.Pet</a></p></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:FindPetsByStatus:Produces:2"></span> <a href="OpenAPIPetstore-MimeTypes.html#t:Produces" title="OpenAPIPetstore.MimeTypes">Produces</a> <a href="OpenAPIPetstore-API-Pet.html#t:FindPetsByStatus" title="OpenAPIPetstore.API.Pet">FindPetsByStatus</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeXML" title="OpenAPIPetstore.MimeTypes">MimeXML</a></span> <a href="src/OpenAPIPetstore.API.Pet.html#line-134" class="link">Source</a> <a href="#t:FindPetsByStatus" class="selflink">#</a></td><td class="doc"><pre>application/xml</pre></td></tr><tr><td colspan="2"><details id="i:id:FindPetsByStatus:Produces:2"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="OpenAPIPetstore-API-Pet.html">OpenAPIPetstore.API.Pet</a></p></details></td></tr></table></details></div></div><a href="#g:6" id="g:6"><h3>findPetsByTags</h3></a><div class="top"><p class="src"><a id="v:findPetsByTags" class="def">findPetsByTags</a> <a href="src/OpenAPIPetstore.API.Pet.html#findPetsByTags" class="link">Source</a> <a href="#v:findPetsByTags" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="OpenAPIPetstore-MimeTypes.html#t:Accept" title="OpenAPIPetstore.MimeTypes">Accept</a> accept</td><td class="doc"><p>request accept (<code><a href="OpenAPIPetstore-MimeTypes.html#t:MimeType" title="OpenAPIPetstore.MimeTypes">MimeType</a></code>)</p></td></tr><tr><td class="src">-&gt; <a href="OpenAPIPetstore-Model.html#t:Tags" title="OpenAPIPetstore.Model">Tags</a></td><td class="doc"><p>&quot;tags&quot; -  Tags to filter by</p></td></tr><tr><td class="src">-&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-Pet.html#t:FindPetsByTags" title="OpenAPIPetstore.API.Pet">FindPetsByTags</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeNoContent" title="OpenAPIPetstore.MimeTypes">MimeNoContent</a> [<a href="OpenAPIPetstore-Model.html#t:Pet" title="OpenAPIPetstore.Model">Pet</a>] accept</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><div class="warning"><p>Deprecated: </p></div><pre>GET /pet/findByTags</pre><p>Finds Pets by tags</p><p>Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.</p><p>AuthMethod: <code><a href="OpenAPIPetstore-Model.html#t:AuthOAuthPetstoreAuth" title="OpenAPIPetstore.Model">AuthOAuthPetstoreAuth</a></code></p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:FindPetsByTags" class="def">FindPetsByTags</a> <a href="src/OpenAPIPetstore.API.Pet.html#FindPetsByTags" class="link">Source</a> <a href="#t:FindPetsByTags" class="selflink">#</a></p><div class="subs instances"><h4 class="instances details-toggle-control details-toggle" data-details-id="i:FindPetsByTags">Instances</h4><details id="i:FindPetsByTags" open="open"><summary class="hide-when-js-enabled">Instances details</summary><table><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:FindPetsByTags:Produces:1"></span> <a href="OpenAPIPetstore-MimeTypes.html#t:Produces" title="OpenAPIPetstore.MimeTypes">Produces</a> <a href="OpenAPIPetstore-API-Pet.html#t:FindPetsByTags" title="OpenAPIPetstore.API.Pet">FindPetsByTags</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeJSON" title="OpenAPIPetstore.MimeTypes">MimeJSON</a></span> <a href="src/OpenAPIPetstore.API.Pet.html#line-164" class="link">Source</a> <a href="#t:FindPetsByTags" class="selflink">#</a></td><td class="doc"><pre>application/json</pre></td></tr><tr><td colspan="2"><details id="i:id:FindPetsByTags:Produces:1"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="OpenAPIPetstore-API-Pet.html">OpenAPIPetstore.API.Pet</a></p></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:FindPetsByTags:Produces:2"></span> <a href="OpenAPIPetstore-MimeTypes.html#t:Produces" title="OpenAPIPetstore.MimeTypes">Produces</a> <a href="OpenAPIPetstore-API-Pet.html#t:FindPetsByTags" title="OpenAPIPetstore.API.Pet">FindPetsByTags</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeXML" title="OpenAPIPetstore.MimeTypes">MimeXML</a></span> <a href="src/OpenAPIPetstore.API.Pet.html#line-162" class="link">Source</a> <a href="#t:FindPetsByTags" class="selflink">#</a></td><td class="doc"><pre>application/xml</pre></td></tr><tr><td colspan="2"><details id="i:id:FindPetsByTags:Produces:2"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="OpenAPIPetstore-API-Pet.html">OpenAPIPetstore.API.Pet</a></p></details></td></tr></table></details></div></div><a href="#g:7" id="g:7"><h3>getPetById</h3></a><div class="top"><p class="src"><a id="v:getPetById" class="def">getPetById</a> <a href="src/OpenAPIPetstore.API.Pet.html#getPetById" class="link">Source</a> <a href="#v:getPetById" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="OpenAPIPetstore-MimeTypes.html#t:Accept" title="OpenAPIPetstore.MimeTypes">Accept</a> accept</td><td class="doc"><p>request accept (<code><a href="OpenAPIPetstore-MimeTypes.html#t:MimeType" title="OpenAPIPetstore.MimeTypes">MimeType</a></code>)</p></td></tr><tr><td class="src">-&gt; <a href="OpenAPIPetstore-Model.html#t:PetId" title="OpenAPIPetstore.Model">PetId</a></td><td class="doc"><p>&quot;petId&quot; -  ID of pet to return</p></td></tr><tr><td class="src">-&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-Pet.html#t:GetPetById" title="OpenAPIPetstore.API.Pet">GetPetById</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeNoContent" title="OpenAPIPetstore.MimeTypes">MimeNoContent</a> <a href="OpenAPIPetstore-Model.html#t:Pet" title="OpenAPIPetstore.Model">Pet</a> accept</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><pre>GET /pet/{petId}</pre><p>Find pet by ID</p><p>Returns a single pet</p><p>AuthMethod: <code><a href="OpenAPIPetstore-Model.html#t:AuthApiKeyApiKey" title="OpenAPIPetstore.Model">AuthApiKeyApiKey</a></code></p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:GetPetById" class="def">GetPetById</a> <a href="src/OpenAPIPetstore.API.Pet.html#GetPetById" class="link">Source</a> <a href="#t:GetPetById" class="selflink">#</a></p><div class="subs instances"><h4 class="instances details-toggle-control details-toggle" data-details-id="i:GetPetById">Instances</h4><details id="i:GetPetById" open="open"><summary class="hide-when-js-enabled">Instances details</summary><table><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:GetPetById:Produces:1"></span> <a href="OpenAPIPetstore-MimeTypes.html#t:Produces" title="OpenAPIPetstore.MimeTypes">Produces</a> <a href="OpenAPIPetstore-API-Pet.html#t:GetPetById" title="OpenAPIPetstore.API.Pet">GetPetById</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeJSON" title="OpenAPIPetstore.MimeTypes">MimeJSON</a></span> <a href="src/OpenAPIPetstore.API.Pet.html#line-189" class="link">Source</a> <a href="#t:GetPetById" class="selflink">#</a></td><td class="doc"><pre>application/json</pre></td></tr><tr><td colspan="2"><details id="i:id:GetPetById:Produces:1"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="OpenAPIPetstore-API-Pet.html">OpenAPIPetstore.API.Pet</a></p></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:GetPetById:Produces:2"></span> <a href="OpenAPIPetstore-MimeTypes.html#t:Produces" title="OpenAPIPetstore.MimeTypes">Produces</a> <a href="OpenAPIPetstore-API-Pet.html#t:GetPetById" title="OpenAPIPetstore.API.Pet">GetPetById</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeXML" title="OpenAPIPetstore.MimeTypes">MimeXML</a></span> <a href="src/OpenAPIPetstore.API.Pet.html#line-187" class="link">Source</a> <a href="#t:GetPetById" class="selflink">#</a></td><td class="doc"><pre>application/xml</pre></td></tr><tr><td colspan="2"><details id="i:id:GetPetById:Produces:2"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="OpenAPIPetstore-API-Pet.html">OpenAPIPetstore.API.Pet</a></p></details></td></tr></table></details></div></div><a href="#g:8" id="g:8"><h3>updatePet</h3></a><div class="top"><p class="src"><a id="v:updatePet" class="def">updatePet</a> <a href="src/OpenAPIPetstore.API.Pet.html#updatePet" class="link">Source</a> <a href="#v:updatePet" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="OpenAPIPetstore-MimeTypes.html#t:Consumes" title="OpenAPIPetstore.MimeTypes">Consumes</a> <a href="OpenAPIPetstore-API-Pet.html#t:UpdatePet" title="OpenAPIPetstore.API.Pet">UpdatePet</a> contentType, <a href="OpenAPIPetstore-MimeTypes.html#t:MimeRender" title="OpenAPIPetstore.MimeTypes">MimeRender</a> contentType <a href="OpenAPIPetstore-Model.html#t:Pet" title="OpenAPIPetstore.Model">Pet</a>)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="OpenAPIPetstore-MimeTypes.html#t:ContentType" title="OpenAPIPetstore.MimeTypes">ContentType</a> contentType</td><td class="doc"><p>request content-type (<code><a href="OpenAPIPetstore-MimeTypes.html#t:MimeType" title="OpenAPIPetstore.MimeTypes">MimeType</a></code>)</p></td></tr><tr><td class="src">-&gt; <a href="OpenAPIPetstore-Model.html#t:Pet" title="OpenAPIPetstore.Model">Pet</a></td><td class="doc"><p>&quot;body&quot; -  Pet object that needs to be added to the store</p></td></tr><tr><td class="src">-&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-Pet.html#t:UpdatePet" title="OpenAPIPetstore.API.Pet">UpdatePet</a> contentType <a href="OpenAPIPetstore-MimeTypes.html#t:NoContent" title="OpenAPIPetstore.MimeTypes">NoContent</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeNoContent" title="OpenAPIPetstore.MimeTypes">MimeNoContent</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><pre>PUT /pet</pre><p>Update an existing pet</p><p>AuthMethod: <code><a href="OpenAPIPetstore-Model.html#t:AuthOAuthPetstoreAuth" title="OpenAPIPetstore.Model">AuthOAuthPetstoreAuth</a></code></p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:UpdatePet" class="def">UpdatePet</a> <a href="src/OpenAPIPetstore.API.Pet.html#UpdatePet" class="link">Source</a> <a href="#t:UpdatePet" class="selflink">#</a></p><div class="subs instances"><h4 class="instances details-toggle-control details-toggle" data-details-id="i:UpdatePet">Instances</h4><details id="i:UpdatePet" open="open"><summary class="hide-when-js-enabled">Instances details</summary><table><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:UpdatePet:HasBodyParam:1"></span> <a href="OpenAPIPetstore-Core.html#t:HasBodyParam" title="OpenAPIPetstore.Core">HasBodyParam</a> <a href="OpenAPIPetstore-API-Pet.html#t:UpdatePet" title="OpenAPIPetstore.API.Pet">UpdatePet</a> <a href="OpenAPIPetstore-Model.html#t:Pet" title="OpenAPIPetstore.Model">Pet</a></span> <a href="src/OpenAPIPetstore.API.Pet.html#line-213" class="link">Source</a> <a href="#t:UpdatePet" class="selflink">#</a></td><td class="doc"><p><em>Body Param</em> &quot;body&quot; - Pet object that needs to be added to the store</p></td></tr><tr><td colspan="2"><details id="i:id:UpdatePet:HasBodyParam:1"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="OpenAPIPetstore-API-Pet.html">OpenAPIPetstore.API.Pet</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:setBodyParam">setBodyParam</a> :: (<a href="OpenAPIPetstore-MimeTypes.html#t:Consumes" title="OpenAPIPetstore.MimeTypes">Consumes</a> <a href="OpenAPIPetstore-API-Pet.html#t:UpdatePet" title="OpenAPIPetstore.API.Pet">UpdatePet</a> contentType, <a href="OpenAPIPetstore-MimeTypes.html#t:MimeRender" title="OpenAPIPetstore.MimeTypes">MimeRender</a> contentType <a href="OpenAPIPetstore-Model.html#t:Pet" title="OpenAPIPetstore.Model">Pet</a>) =&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-Pet.html#t:UpdatePet" title="OpenAPIPetstore.API.Pet">UpdatePet</a> contentType res accept -&gt; <a href="OpenAPIPetstore-Model.html#t:Pet" title="OpenAPIPetstore.Model">Pet</a> -&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-Pet.html#t:UpdatePet" title="OpenAPIPetstore.API.Pet">UpdatePet</a> contentType res accept <a href="src/OpenAPIPetstore.Core.html#setBodyParam" class="link">Source</a> <a href="#v:setBodyParam" class="selflink">#</a></p></div></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:UpdatePet:Consumes:2"></span> <a href="OpenAPIPetstore-MimeTypes.html#t:Consumes" title="OpenAPIPetstore.MimeTypes">Consumes</a> <a href="OpenAPIPetstore-API-Pet.html#t:UpdatePet" title="OpenAPIPetstore.API.Pet">UpdatePet</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeJSON" title="OpenAPIPetstore.MimeTypes">MimeJSON</a></span> <a href="src/OpenAPIPetstore.API.Pet.html#line-218" class="link">Source</a> <a href="#t:UpdatePet" class="selflink">#</a></td><td class="doc"><pre>application/json</pre></td></tr><tr><td colspan="2"><details id="i:id:UpdatePet:Consumes:2"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="OpenAPIPetstore-API-Pet.html">OpenAPIPetstore.API.Pet</a></p></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:UpdatePet:Consumes:3"></span> <a href="OpenAPIPetstore-MimeTypes.html#t:Consumes" title="OpenAPIPetstore.MimeTypes">Consumes</a> <a href="OpenAPIPetstore-API-Pet.html#t:UpdatePet" title="OpenAPIPetstore.API.Pet">UpdatePet</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeXML" title="OpenAPIPetstore.MimeTypes">MimeXML</a></span> <a href="src/OpenAPIPetstore.API.Pet.html#line-216" class="link">Source</a> <a href="#t:UpdatePet" class="selflink">#</a></td><td class="doc"><pre>application/xml</pre></td></tr><tr><td colspan="2"><details id="i:id:UpdatePet:Consumes:3"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="OpenAPIPetstore-API-Pet.html">OpenAPIPetstore.API.Pet</a></p></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:UpdatePet:Produces:4"></span> <a href="OpenAPIPetstore-MimeTypes.html#t:Produces" title="OpenAPIPetstore.MimeTypes">Produces</a> <a href="OpenAPIPetstore-API-Pet.html#t:UpdatePet" title="OpenAPIPetstore.API.Pet">UpdatePet</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeNoContent" title="OpenAPIPetstore.MimeTypes">MimeNoContent</a></span> <a href="src/OpenAPIPetstore.API.Pet.html#line-220" class="link">Source</a> <a href="#t:UpdatePet" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:UpdatePet:Produces:4"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="OpenAPIPetstore-API-Pet.html">OpenAPIPetstore.API.Pet</a></p></details></td></tr></table></details></div></div><a href="#g:9" id="g:9"><h3>updatePetWithForm</h3></a><div class="top"><p class="src"><a id="v:updatePetWithForm" class="def">updatePetWithForm</a> <a href="src/OpenAPIPetstore.API.Pet.html#updatePetWithForm" class="link">Source</a> <a href="#v:updatePetWithForm" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="OpenAPIPetstore-MimeTypes.html#t:Consumes" title="OpenAPIPetstore.MimeTypes">Consumes</a> <a href="OpenAPIPetstore-API-Pet.html#t:UpdatePetWithForm" title="OpenAPIPetstore.API.Pet">UpdatePetWithForm</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeFormUrlEncoded" title="OpenAPIPetstore.MimeTypes">MimeFormUrlEncoded</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="OpenAPIPetstore-Model.html#t:PetId" title="OpenAPIPetstore.Model">PetId</a></td><td class="doc"><p>&quot;petId&quot; -  ID of pet that needs to be updated</p></td></tr><tr><td class="src">-&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-Pet.html#t:UpdatePetWithForm" title="OpenAPIPetstore.API.Pet">UpdatePetWithForm</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeFormUrlEncoded" title="OpenAPIPetstore.MimeTypes">MimeFormUrlEncoded</a> <a href="OpenAPIPetstore-MimeTypes.html#t:NoContent" title="OpenAPIPetstore.MimeTypes">NoContent</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeNoContent" title="OpenAPIPetstore.MimeTypes">MimeNoContent</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><pre>POST /pet/{petId}</pre><p>Updates a pet in the store with form data</p><p>AuthMethod: <code><a href="OpenAPIPetstore-Model.html#t:AuthOAuthPetstoreAuth" title="OpenAPIPetstore.Model">AuthOAuthPetstoreAuth</a></code></p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:UpdatePetWithForm" class="def">UpdatePetWithForm</a> <a href="src/OpenAPIPetstore.API.Pet.html#UpdatePetWithForm" class="link">Source</a> <a href="#t:UpdatePetWithForm" class="selflink">#</a></p><div class="subs instances"><h4 class="instances details-toggle-control details-toggle" data-details-id="i:UpdatePetWithForm">Instances</h4><details id="i:UpdatePetWithForm" open="open"><summary class="hide-when-js-enabled">Instances details</summary><table><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:UpdatePetWithForm:HasOptionalParam:1"></span> <a href="OpenAPIPetstore-Core.html#t:HasOptionalParam" title="OpenAPIPetstore.Core">HasOptionalParam</a> <a href="OpenAPIPetstore-API-Pet.html#t:UpdatePetWithForm" title="OpenAPIPetstore.API.Pet">UpdatePetWithForm</a> <a href="OpenAPIPetstore-Model.html#t:Name2" title="OpenAPIPetstore.Model">Name2</a></span> <a href="src/OpenAPIPetstore.API.Pet.html#line-242" class="link">Source</a> <a href="#t:UpdatePetWithForm" class="selflink">#</a></td><td class="doc"><p><em>Optional Param</em> &quot;name&quot; - Updated name of the pet</p></td></tr><tr><td colspan="2"><details id="i:id:UpdatePetWithForm:HasOptionalParam:1"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="OpenAPIPetstore-API-Pet.html">OpenAPIPetstore.API.Pet</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:applyOptionalParam">applyOptionalParam</a> :: <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-Pet.html#t:UpdatePetWithForm" title="OpenAPIPetstore.API.Pet">UpdatePetWithForm</a> contentType res accept -&gt; <a href="OpenAPIPetstore-Model.html#t:Name2" title="OpenAPIPetstore.Model">Name2</a> -&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-Pet.html#t:UpdatePetWithForm" title="OpenAPIPetstore.API.Pet">UpdatePetWithForm</a> contentType res accept <a href="src/OpenAPIPetstore.Core.html#applyOptionalParam" class="link">Source</a> <a href="#v:applyOptionalParam" class="selflink">#</a></p><p class="src"><a href="#v:-45--38--45-">(-&amp;-)</a> :: <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-Pet.html#t:UpdatePetWithForm" title="OpenAPIPetstore.API.Pet">UpdatePetWithForm</a> contentType res accept -&gt; <a href="OpenAPIPetstore-Model.html#t:Name2" title="OpenAPIPetstore.Model">Name2</a> -&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-Pet.html#t:UpdatePetWithForm" title="OpenAPIPetstore.API.Pet">UpdatePetWithForm</a> contentType res accept <a href="src/OpenAPIPetstore.Core.html#-%26-" class="link">Source</a> <a href="#v:-45--38--45-" class="selflink">#</a></p></div></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:UpdatePetWithForm:HasOptionalParam:2"></span> <a href="OpenAPIPetstore-Core.html#t:HasOptionalParam" title="OpenAPIPetstore.Core">HasOptionalParam</a> <a href="OpenAPIPetstore-API-Pet.html#t:UpdatePetWithForm" title="OpenAPIPetstore.API.Pet">UpdatePetWithForm</a> <a href="OpenAPIPetstore-Model.html#t:StatusText" title="OpenAPIPetstore.Model">StatusText</a></span> <a href="src/OpenAPIPetstore.API.Pet.html#line-247" class="link">Source</a> <a href="#t:UpdatePetWithForm" class="selflink">#</a></td><td class="doc"><p><em>Optional Param</em> &quot;status&quot; - Updated status of the pet</p></td></tr><tr><td colspan="2"><details id="i:id:UpdatePetWithForm:HasOptionalParam:2"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="OpenAPIPetstore-API-Pet.html">OpenAPIPetstore.API.Pet</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:applyOptionalParam">applyOptionalParam</a> :: <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-Pet.html#t:UpdatePetWithForm" title="OpenAPIPetstore.API.Pet">UpdatePetWithForm</a> contentType res accept -&gt; <a href="OpenAPIPetstore-Model.html#t:StatusText" title="OpenAPIPetstore.Model">StatusText</a> -&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-Pet.html#t:UpdatePetWithForm" title="OpenAPIPetstore.API.Pet">UpdatePetWithForm</a> contentType res accept <a href="src/OpenAPIPetstore.Core.html#applyOptionalParam" class="link">Source</a> <a href="#v:applyOptionalParam" class="selflink">#</a></p><p class="src"><a href="#v:-45--38--45-">(-&amp;-)</a> :: <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-Pet.html#t:UpdatePetWithForm" title="OpenAPIPetstore.API.Pet">UpdatePetWithForm</a> contentType res accept -&gt; <a href="OpenAPIPetstore-Model.html#t:StatusText" title="OpenAPIPetstore.Model">StatusText</a> -&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-Pet.html#t:UpdatePetWithForm" title="OpenAPIPetstore.API.Pet">UpdatePetWithForm</a> contentType res accept <a href="src/OpenAPIPetstore.Core.html#-%26-" class="link">Source</a> <a href="#v:-45--38--45-" class="selflink">#</a></p></div></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:UpdatePetWithForm:Consumes:3"></span> <a href="OpenAPIPetstore-MimeTypes.html#t:Consumes" title="OpenAPIPetstore.MimeTypes">Consumes</a> <a href="OpenAPIPetstore-API-Pet.html#t:UpdatePetWithForm" title="OpenAPIPetstore.API.Pet">UpdatePetWithForm</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeFormUrlEncoded" title="OpenAPIPetstore.MimeTypes">MimeFormUrlEncoded</a></span> <a href="src/OpenAPIPetstore.API.Pet.html#line-252" class="link">Source</a> <a href="#t:UpdatePetWithForm" class="selflink">#</a></td><td class="doc"><pre>application/x-www-form-urlencoded</pre></td></tr><tr><td colspan="2"><details id="i:id:UpdatePetWithForm:Consumes:3"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="OpenAPIPetstore-API-Pet.html">OpenAPIPetstore.API.Pet</a></p></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:UpdatePetWithForm:Produces:4"></span> <a href="OpenAPIPetstore-MimeTypes.html#t:Produces" title="OpenAPIPetstore.MimeTypes">Produces</a> <a href="OpenAPIPetstore-API-Pet.html#t:UpdatePetWithForm" title="OpenAPIPetstore.API.Pet">UpdatePetWithForm</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeNoContent" title="OpenAPIPetstore.MimeTypes">MimeNoContent</a></span> <a href="src/OpenAPIPetstore.API.Pet.html#line-254" class="link">Source</a> <a href="#t:UpdatePetWithForm" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:UpdatePetWithForm:Produces:4"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="OpenAPIPetstore-API-Pet.html">OpenAPIPetstore.API.Pet</a></p></details></td></tr></table></details></div></div><a href="#g:10" id="g:10"><h3>uploadFile</h3></a><div class="top"><p class="src"><a id="v:uploadFile" class="def">uploadFile</a> <a href="src/OpenAPIPetstore.API.Pet.html#uploadFile" class="link">Source</a> <a href="#v:uploadFile" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="OpenAPIPetstore-MimeTypes.html#t:Consumes" title="OpenAPIPetstore.MimeTypes">Consumes</a> <a href="OpenAPIPetstore-API-Pet.html#t:UploadFile" title="OpenAPIPetstore.API.Pet">UploadFile</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeMultipartFormData" title="OpenAPIPetstore.MimeTypes">MimeMultipartFormData</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="OpenAPIPetstore-Model.html#t:PetId" title="OpenAPIPetstore.Model">PetId</a></td><td class="doc"><p>&quot;petId&quot; -  ID of pet to update</p></td></tr><tr><td class="src">-&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-Pet.html#t:UploadFile" title="OpenAPIPetstore.API.Pet">UploadFile</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeMultipartFormData" title="OpenAPIPetstore.MimeTypes">MimeMultipartFormData</a> <a href="OpenAPIPetstore-Model.html#t:ApiResponse" title="OpenAPIPetstore.Model">ApiResponse</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeJSON" title="OpenAPIPetstore.MimeTypes">MimeJSON</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><pre>POST /pet/{petId}/uploadImage</pre><p>uploads an image</p><p>AuthMethod: <code><a href="OpenAPIPetstore-Model.html#t:AuthOAuthPetstoreAuth" title="OpenAPIPetstore.Model">AuthOAuthPetstoreAuth</a></code></p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:UploadFile" class="def">UploadFile</a> <a href="src/OpenAPIPetstore.API.Pet.html#UploadFile" class="link">Source</a> <a href="#t:UploadFile" class="selflink">#</a></p><div class="subs instances"><h4 class="instances details-toggle-control details-toggle" data-details-id="i:UploadFile">Instances</h4><details id="i:UploadFile" open="open"><summary class="hide-when-js-enabled">Instances details</summary><table><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:UploadFile:HasOptionalParam:1"></span> <a href="OpenAPIPetstore-Core.html#t:HasOptionalParam" title="OpenAPIPetstore.Core">HasOptionalParam</a> <a href="OpenAPIPetstore-API-Pet.html#t:UploadFile" title="OpenAPIPetstore.API.Pet">UploadFile</a> <a href="OpenAPIPetstore-Model.html#t:AdditionalMetadata" title="OpenAPIPetstore.Model">AdditionalMetadata</a></span> <a href="src/OpenAPIPetstore.API.Pet.html#line-276" class="link">Source</a> <a href="#t:UploadFile" class="selflink">#</a></td><td class="doc"><p><em>Optional Param</em> &quot;additionalMetadata&quot; - Additional data to pass to server</p></td></tr><tr><td colspan="2"><details id="i:id:UploadFile:HasOptionalParam:1"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="OpenAPIPetstore-API-Pet.html">OpenAPIPetstore.API.Pet</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:applyOptionalParam">applyOptionalParam</a> :: <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-Pet.html#t:UploadFile" title="OpenAPIPetstore.API.Pet">UploadFile</a> contentType res accept -&gt; <a href="OpenAPIPetstore-Model.html#t:AdditionalMetadata" title="OpenAPIPetstore.Model">AdditionalMetadata</a> -&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-Pet.html#t:UploadFile" title="OpenAPIPetstore.API.Pet">UploadFile</a> contentType res accept <a href="src/OpenAPIPetstore.Core.html#applyOptionalParam" class="link">Source</a> <a href="#v:applyOptionalParam" class="selflink">#</a></p><p class="src"><a href="#v:-45--38--45-">(-&amp;-)</a> :: <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-Pet.html#t:UploadFile" title="OpenAPIPetstore.API.Pet">UploadFile</a> contentType res accept -&gt; <a href="OpenAPIPetstore-Model.html#t:AdditionalMetadata" title="OpenAPIPetstore.Model">AdditionalMetadata</a> -&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-Pet.html#t:UploadFile" title="OpenAPIPetstore.API.Pet">UploadFile</a> contentType res accept <a href="src/OpenAPIPetstore.Core.html#-%26-" class="link">Source</a> <a href="#v:-45--38--45-" class="selflink">#</a></p></div></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:UploadFile:HasOptionalParam:2"></span> <a href="OpenAPIPetstore-Core.html#t:HasOptionalParam" title="OpenAPIPetstore.Core">HasOptionalParam</a> <a href="OpenAPIPetstore-API-Pet.html#t:UploadFile" title="OpenAPIPetstore.API.Pet">UploadFile</a> <a href="OpenAPIPetstore-Model.html#t:File2" title="OpenAPIPetstore.Model">File2</a></span> <a href="src/OpenAPIPetstore.API.Pet.html#line-281" class="link">Source</a> <a href="#t:UploadFile" class="selflink">#</a></td><td class="doc"><p><em>Optional Param</em> &quot;file&quot; - file to upload</p></td></tr><tr><td colspan="2"><details id="i:id:UploadFile:HasOptionalParam:2"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="OpenAPIPetstore-API-Pet.html">OpenAPIPetstore.API.Pet</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:applyOptionalParam">applyOptionalParam</a> :: <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-Pet.html#t:UploadFile" title="OpenAPIPetstore.API.Pet">UploadFile</a> contentType res accept -&gt; <a href="OpenAPIPetstore-Model.html#t:File2" title="OpenAPIPetstore.Model">File2</a> -&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-Pet.html#t:UploadFile" title="OpenAPIPetstore.API.Pet">UploadFile</a> contentType res accept <a href="src/OpenAPIPetstore.Core.html#applyOptionalParam" class="link">Source</a> <a href="#v:applyOptionalParam" class="selflink">#</a></p><p class="src"><a href="#v:-45--38--45-">(-&amp;-)</a> :: <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-Pet.html#t:UploadFile" title="OpenAPIPetstore.API.Pet">UploadFile</a> contentType res accept -&gt; <a href="OpenAPIPetstore-Model.html#t:File2" title="OpenAPIPetstore.Model">File2</a> -&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-Pet.html#t:UploadFile" title="OpenAPIPetstore.API.Pet">UploadFile</a> contentType res accept <a href="src/OpenAPIPetstore.Core.html#-%26-" class="link">Source</a> <a href="#v:-45--38--45-" class="selflink">#</a></p></div></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:UploadFile:Consumes:3"></span> <a href="OpenAPIPetstore-MimeTypes.html#t:Consumes" title="OpenAPIPetstore.MimeTypes">Consumes</a> <a href="OpenAPIPetstore-API-Pet.html#t:UploadFile" title="OpenAPIPetstore.API.Pet">UploadFile</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeMultipartFormData" title="OpenAPIPetstore.MimeTypes">MimeMultipartFormData</a></span> <a href="src/OpenAPIPetstore.API.Pet.html#line-286" class="link">Source</a> <a href="#t:UploadFile" class="selflink">#</a></td><td class="doc"><pre>multipart/form-data</pre></td></tr><tr><td colspan="2"><details id="i:id:UploadFile:Consumes:3"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="OpenAPIPetstore-API-Pet.html">OpenAPIPetstore.API.Pet</a></p></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:UploadFile:Produces:4"></span> <a href="OpenAPIPetstore-MimeTypes.html#t:Produces" title="OpenAPIPetstore.MimeTypes">Produces</a> <a href="OpenAPIPetstore-API-Pet.html#t:UploadFile" title="OpenAPIPetstore.API.Pet">UploadFile</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeJSON" title="OpenAPIPetstore.MimeTypes">MimeJSON</a></span> <a href="src/OpenAPIPetstore.API.Pet.html#line-289" class="link">Source</a> <a href="#t:UploadFile" class="selflink">#</a></td><td class="doc"><pre>application/json</pre></td></tr><tr><td colspan="2"><details id="i:id:UploadFile:Produces:4"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="OpenAPIPetstore-API-Pet.html">OpenAPIPetstore.API.Pet</a></p></details></td></tr></table></details></div></div><a href="#g:11" id="g:11"><h3>uploadFileWithRequiredFile</h3></a><div class="top"><p class="src"><a id="v:uploadFileWithRequiredFile" class="def">uploadFileWithRequiredFile</a> <a href="src/OpenAPIPetstore.API.Pet.html#uploadFileWithRequiredFile" class="link">Source</a> <a href="#v:uploadFileWithRequiredFile" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="OpenAPIPetstore-MimeTypes.html#t:Consumes" title="OpenAPIPetstore.MimeTypes">Consumes</a> <a href="OpenAPIPetstore-API-Pet.html#t:UploadFileWithRequiredFile" title="OpenAPIPetstore.API.Pet">UploadFileWithRequiredFile</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeMultipartFormData" title="OpenAPIPetstore.MimeTypes">MimeMultipartFormData</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="OpenAPIPetstore-Model.html#t:RequiredFile" title="OpenAPIPetstore.Model">RequiredFile</a></td><td class="doc"><p>&quot;requiredFile&quot; -  file to upload</p></td></tr><tr><td class="src">-&gt; <a href="OpenAPIPetstore-Model.html#t:PetId" title="OpenAPIPetstore.Model">PetId</a></td><td class="doc"><p>&quot;petId&quot; -  ID of pet to update</p></td></tr><tr><td class="src">-&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-Pet.html#t:UploadFileWithRequiredFile" title="OpenAPIPetstore.API.Pet">UploadFileWithRequiredFile</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeMultipartFormData" title="OpenAPIPetstore.MimeTypes">MimeMultipartFormData</a> <a href="OpenAPIPetstore-Model.html#t:ApiResponse" title="OpenAPIPetstore.Model">ApiResponse</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeJSON" title="OpenAPIPetstore.MimeTypes">MimeJSON</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><pre>POST /fake/{petId}/uploadImageWithRequiredFile</pre><p>uploads an image (required)</p><p>AuthMethod: <code><a href="OpenAPIPetstore-Model.html#t:AuthOAuthPetstoreAuth" title="OpenAPIPetstore.Model">AuthOAuthPetstoreAuth</a></code></p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:UploadFileWithRequiredFile" class="def">UploadFileWithRequiredFile</a> <a href="src/OpenAPIPetstore.API.Pet.html#UploadFileWithRequiredFile" class="link">Source</a> <a href="#t:UploadFileWithRequiredFile" class="selflink">#</a></p><div class="subs instances"><h4 class="instances details-toggle-control details-toggle" data-details-id="i:UploadFileWithRequiredFile">Instances</h4><details id="i:UploadFileWithRequiredFile" open="open"><summary class="hide-when-js-enabled">Instances details</summary><table><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:UploadFileWithRequiredFile:HasOptionalParam:1"></span> <a href="OpenAPIPetstore-Core.html#t:HasOptionalParam" title="OpenAPIPetstore.Core">HasOptionalParam</a> <a href="OpenAPIPetstore-API-Pet.html#t:UploadFileWithRequiredFile" title="OpenAPIPetstore.API.Pet">UploadFileWithRequiredFile</a> <a href="OpenAPIPetstore-Model.html#t:AdditionalMetadata" title="OpenAPIPetstore.Model">AdditionalMetadata</a></span> <a href="src/OpenAPIPetstore.API.Pet.html#line-313" class="link">Source</a> <a href="#t:UploadFileWithRequiredFile" class="selflink">#</a></td><td class="doc"><p><em>Optional Param</em> &quot;additionalMetadata&quot; - Additional data to pass to server</p></td></tr><tr><td colspan="2"><details id="i:id:UploadFileWithRequiredFile:HasOptionalParam:1"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="OpenAPIPetstore-API-Pet.html">OpenAPIPetstore.API.Pet</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:applyOptionalParam">applyOptionalParam</a> :: <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-Pet.html#t:UploadFileWithRequiredFile" title="OpenAPIPetstore.API.Pet">UploadFileWithRequiredFile</a> contentType res accept -&gt; <a href="OpenAPIPetstore-Model.html#t:AdditionalMetadata" title="OpenAPIPetstore.Model">AdditionalMetadata</a> -&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-Pet.html#t:UploadFileWithRequiredFile" title="OpenAPIPetstore.API.Pet">UploadFileWithRequiredFile</a> contentType res accept <a href="src/OpenAPIPetstore.Core.html#applyOptionalParam" class="link">Source</a> <a href="#v:applyOptionalParam" class="selflink">#</a></p><p class="src"><a href="#v:-45--38--45-">(-&amp;-)</a> :: <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-Pet.html#t:UploadFileWithRequiredFile" title="OpenAPIPetstore.API.Pet">UploadFileWithRequiredFile</a> contentType res accept -&gt; <a href="OpenAPIPetstore-Model.html#t:AdditionalMetadata" title="OpenAPIPetstore.Model">AdditionalMetadata</a> -&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-Pet.html#t:UploadFileWithRequiredFile" title="OpenAPIPetstore.API.Pet">UploadFileWithRequiredFile</a> contentType res accept <a href="src/OpenAPIPetstore.Core.html#-%26-" class="link">Source</a> <a href="#v:-45--38--45-" class="selflink">#</a></p></div></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:UploadFileWithRequiredFile:Consumes:2"></span> <a href="OpenAPIPetstore-MimeTypes.html#t:Consumes" title="OpenAPIPetstore.MimeTypes">Consumes</a> <a href="OpenAPIPetstore-API-Pet.html#t:UploadFileWithRequiredFile" title="OpenAPIPetstore.API.Pet">UploadFileWithRequiredFile</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeMultipartFormData" title="OpenAPIPetstore.MimeTypes">MimeMultipartFormData</a></span> <a href="src/OpenAPIPetstore.API.Pet.html#line-318" class="link">Source</a> <a href="#t:UploadFileWithRequiredFile" class="selflink">#</a></td><td class="doc"><pre>multipart/form-data</pre></td></tr><tr><td colspan="2"><details id="i:id:UploadFileWithRequiredFile:Consumes:2"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="OpenAPIPetstore-API-Pet.html">OpenAPIPetstore.API.Pet</a></p></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:UploadFileWithRequiredFile:Produces:3"></span> <a href="OpenAPIPetstore-MimeTypes.html#t:Produces" title="OpenAPIPetstore.MimeTypes">Produces</a> <a href="OpenAPIPetstore-API-Pet.html#t:UploadFileWithRequiredFile" title="OpenAPIPetstore.API.Pet">UploadFileWithRequiredFile</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeJSON" title="OpenAPIPetstore.MimeTypes">MimeJSON</a></span> <a href="src/OpenAPIPetstore.API.Pet.html#line-321" class="link">Source</a> <a href="#t:UploadFileWithRequiredFile" class="selflink">#</a></td><td class="doc"><pre>application/json</pre></td></tr><tr><td colspan="2"><details id="i:id:UploadFileWithRequiredFile:Produces:3"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="OpenAPIPetstore-API-Pet.html">OpenAPIPetstore.API.Pet</a></p></details></td></tr></table></details></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.27.0</p></div></body></html>