[Java] Cleanup documentation (#15300)

* [Java] fix documentation of API authorization in README files

fix hierarchy level + add internal links + align wording across generators

* [Java] fix anchor links in documentation
This commit is contained in:
Tiffany Marrel
2023-05-10 08:14:44 +02:00
committed by GitHub
parent f9937e77d6
commit 8a6c708884
99 changed files with 527 additions and 347 deletions

View File

@@ -14,7 +14,7 @@ All URIs are relative to *http://petstore.swagger.io/v2*
| [**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image |
<a name="addPet"></a>
<a id="addPet"></a>
# **addPet**
> Pet addPet(pet).execute();
@@ -83,7 +83,7 @@ public class Example {
| **200** | successful operation | - |
| **405** | Invalid input | - |
<a name="deletePet"></a>
<a id="deletePet"></a>
# **deletePet**
> deletePet(petId).apiKey(apiKey).execute();
@@ -153,7 +153,7 @@ null (empty response body)
|-------------|-------------|------------------|
| **400** | Invalid pet value | - |
<a name="findPetsByStatus"></a>
<a id="findPetsByStatus"></a>
# **findPetsByStatus**
> List&lt;Pet&gt; findPetsByStatus(status).execute();
@@ -222,7 +222,7 @@ public class Example {
| **200** | successful operation | - |
| **400** | Invalid status value | - |
<a name="findPetsByTags"></a>
<a id="findPetsByTags"></a>
# **findPetsByTags**
> List&lt;Pet&gt; findPetsByTags(tags).execute();
@@ -291,7 +291,7 @@ public class Example {
| **200** | successful operation | - |
| **400** | Invalid tag value | - |
<a name="getPetById"></a>
<a id="getPetById"></a>
# **getPetById**
> Pet getPetById(petId).execute();
@@ -363,7 +363,7 @@ public class Example {
| **400** | Invalid ID supplied | - |
| **404** | Pet not found | - |
<a name="updatePet"></a>
<a id="updatePet"></a>
# **updatePet**
> Pet updatePet(pet).execute();
@@ -434,7 +434,7 @@ public class Example {
| **404** | Pet not found | - |
| **405** | Validation exception | - |
<a name="updatePetWithForm"></a>
<a id="updatePetWithForm"></a>
# **updatePetWithForm**
> updatePetWithForm(petId, name, status)
@@ -504,7 +504,7 @@ null (empty response body)
|-------------|-------------|------------------|
| **405** | Invalid input | - |
<a name="uploadFile"></a>
<a id="uploadFile"></a>
# **uploadFile**
> ModelApiResponse uploadFile(petId).additionalMetadata(additionalMetadata)._file(_file).execute();