forked from loafle/openapi-generator-original
140 lines
4.7 KiB
HTML
140 lines
4.7 KiB
HTML
<!DOCTYPE html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<link rel="stylesheet" type="text/css" href="../assets/css/bootstrap.css" media="screen">
|
|
<link rel="stylesheet" type="text/css" href="../assets/css/bootstrap-responsive.css" media="screen">
|
|
<link rel="stylesheet" type="text/css" href="../assets/css/style.css">
|
|
|
|
<title>REST API v1.1 Resources | Twitter Developers</title>
|
|
</head>
|
|
<body>
|
|
<div class="header">
|
|
<div class="top-bar">
|
|
<h1 id="logo"><a class="logo" href="/"><span>Swagger</span><span class="light">API Docs</span></a></h1>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="main_content">
|
|
<h1>PetApi</h1>
|
|
<a name="getPetById"></a>
|
|
<h2>getPetById</h2>
|
|
<h3>GET: /pet.{format}/{petId}</h3>
|
|
<table>
|
|
<tr>
|
|
<th class="column_header_name">parameter</th>
|
|
<th class="column_header_param_type">param type</th>
|
|
<th class="column_header_data_type">data type</th>
|
|
<th class="column_header_return_type">response type</th>
|
|
<th class="column_header_notes">Description</th>
|
|
</tr>
|
|
<!-- body params -->
|
|
<!-- path params -->
|
|
<tr>
|
|
<td>petId<br/>required</td>
|
|
<td>path</td>
|
|
<td>string*</td>
|
|
<td>Pet</td>
|
|
<td>ID of pet that needs to be fetched<br/><div id="PetApi_getPetById" class="operation expandable">Returns a pet based on ID</div></td>
|
|
</tr>
|
|
<!-- query params -->
|
|
<!-- header params -->
|
|
</table>
|
|
<a name="addPet"></a>
|
|
<h2>addPet</h2>
|
|
<h3>POST: /pet.{format}</h3>
|
|
<table>
|
|
<tr>
|
|
<th class="column_header_name">parameter</th>
|
|
<th class="column_header_param_type">param type</th>
|
|
<th class="column_header_data_type">data type</th>
|
|
<th class="column_header_return_type">response type</th>
|
|
<th class="column_header_notes">Description</th>
|
|
</tr>
|
|
<!-- body params -->
|
|
<tr>
|
|
<td>body<br/>required</td>
|
|
<td>body</td>
|
|
<td>Pet*</td>
|
|
<td>-</td>
|
|
<td>Pet object that needs to be added to the store<br/><div id="PetApi_addPet" class="operation expandable"></div></td>
|
|
</tr>
|
|
<!-- path params -->
|
|
<!-- query params -->
|
|
<!-- header params -->
|
|
</table>
|
|
<a name="updatePet"></a>
|
|
<h2>updatePet</h2>
|
|
<h3>PUT: /pet.{format}</h3>
|
|
<table>
|
|
<tr>
|
|
<th class="column_header_name">parameter</th>
|
|
<th class="column_header_param_type">param type</th>
|
|
<th class="column_header_data_type">data type</th>
|
|
<th class="column_header_return_type">response type</th>
|
|
<th class="column_header_notes">Description</th>
|
|
</tr>
|
|
<!-- body params -->
|
|
<tr>
|
|
<td>body<br/>required</td>
|
|
<td>body</td>
|
|
<td>Pet*</td>
|
|
<td>-</td>
|
|
<td>Pet object that needs to be updated in the store<br/><div id="PetApi_updatePet" class="operation expandable"></div></td>
|
|
</tr>
|
|
<!-- path params -->
|
|
<!-- query params -->
|
|
<!-- header params -->
|
|
</table>
|
|
<a name="findPetsByStatus"></a>
|
|
<h2>findPetsByStatus</h2>
|
|
<h3>GET: /pet.{format}/findByStatus</h3>
|
|
<table>
|
|
<tr>
|
|
<th class="column_header_name">parameter</th>
|
|
<th class="column_header_param_type">param type</th>
|
|
<th class="column_header_data_type">data type</th>
|
|
<th class="column_header_return_type">response type</th>
|
|
<th class="column_header_notes">Description</th>
|
|
</tr>
|
|
<!-- body params -->
|
|
<!-- path params -->
|
|
<!-- query params -->
|
|
<tr>
|
|
<td>status<br/>required</td>
|
|
<td>query</td>
|
|
<td>string*</td>
|
|
<td>List[Pet]</td>
|
|
<td>Status values that need to be considered for filter<br/><div id="PetApi_findPetsByStatus" class="operation expandable">Multiple status values can be provided with comma seperated strings</div></td>
|
|
</tr>
|
|
<!-- header params -->
|
|
</table>
|
|
<a name="findPetsByTags"></a>
|
|
<h2>findPetsByTags</h2>
|
|
<h3>GET: /pet.{format}/findByTags</h3>
|
|
<table>
|
|
<tr>
|
|
<th class="column_header_name">parameter</th>
|
|
<th class="column_header_param_type">param type</th>
|
|
<th class="column_header_data_type">data type</th>
|
|
<th class="column_header_return_type">response type</th>
|
|
<th class="column_header_notes">Description</th>
|
|
</tr>
|
|
<!-- body params -->
|
|
<!-- path params -->
|
|
<!-- query params -->
|
|
<tr>
|
|
<td>tags<br/>required</td>
|
|
<td>query</td>
|
|
<td>string*</td>
|
|
<td>List[Pet]</td>
|
|
<td>Tags to filter by<br/><div id="PetApi_findPetsByTags" class="operation expandable">Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.</div></td>
|
|
</tr>
|
|
<!-- header params -->
|
|
</table>
|
|
</div>
|
|
</body>
|
|
</html>
|
|
|