# PetController
All URIs are relative to `"/v2"`
The controller class is defined in **[PetController.java](../../src/main/java/org/openapitools/controller/PetController.java)**
Method | HTTP request | Description
------------- | ------------- | -------------
[**addPet**](#addPet) | **POST** /pet | Add a new pet to the store
[**deletePet**](#deletePet) | **DELETE** /pet/{petId} | Deletes a pet
[**findPetsByStatus**](#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status
[**findPetsByTags**](#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags
[**getPetById**](#getPetById) | **GET** /pet/{petId} | Find pet by ID
[**updatePet**](#updatePet) | **PUT** /pet | Update an existing pet
[**updatePetWithForm**](#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data
[**uploadFile**](#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image
# **addPet**
```java
Mono PetController.addPet(pet)
```
Add a new pet to the store
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**pet** | [**Pet**](../../docs/models/Pet.md) | Pet object that needs to be added to the store |
### Return type
[**Pet**](../../docs/models/Pet.md)
### Authorization
* **petstore_auth**, scopes: `write:pets`, `read:pets`
### HTTP request headers
- **Accepts Content-Type**: `application/json`, `application/xml`
- **Produces Content-Type**: `application/xml`, `application/json`
# **deletePet**
```java
Mono