Merge remote-tracking branch 'origin/master' into 4.0.x

This commit is contained in:
William Cheng
2018-08-03 00:10:34 +08:00
628 changed files with 13796 additions and 7660 deletions

View File

@@ -4,16 +4,16 @@ All URIs are relative to *http://petstore.swagger.io:80/v2*
Method | HTTP request | Description
------------- | ------------- | -------------
[**testSpecialTags**](AnotherFakeApi.md#testSpecialTags) | **PATCH** /another-fake/dummy | To test special tags
[**call123testSpecialTags**](AnotherFakeApi.md#call123testSpecialTags) | **PATCH** /another-fake/dummy | To test special tags
<a name="testSpecialTags"></a>
# **testSpecialTags**
> Client testSpecialTags(client)
<a name="call123testSpecialTags"></a>
# **call123testSpecialTags**
> Client call123testSpecialTags(client)
To test special tags
To test special tags
To test special tags and operation ID starting with number
### Example
```java
@@ -25,10 +25,10 @@ To test special tags
AnotherFakeApi apiInstance = new AnotherFakeApi();
Client client = new Client(); // Client | client model
try {
Client result = apiInstance.testSpecialTags(client);
Client result = apiInstance.call123testSpecialTags(client);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AnotherFakeApi#testSpecialTags");
System.err.println("Exception when calling AnotherFakeApi#call123testSpecialTags");
e.printStackTrace();
}
```

View File

@@ -47,18 +47,18 @@ public class AnotherFakeApi {
/**
* To test special tags
* To test special tags
* To test special tags and operation ID starting with number
* <p><b>200</b> - successful operation
* @param client client model
* @return Client
* @throws RestClientException if an error occurs while attempting to invoke the API
*/
public Mono<Client> testSpecialTags(Client client) throws RestClientException {
public Mono<Client> call123testSpecialTags(Client client) throws RestClientException {
Object postBody = client;
// verify the required parameter 'client' is set
if (client == null) {
throw new HttpClientErrorException(HttpStatus.BAD_REQUEST, "Missing the required parameter 'client' when calling testSpecialTags");
throw new HttpClientErrorException(HttpStatus.BAD_REQUEST, "Missing the required parameter 'client' when calling call123testSpecialTags");
}
String path = UriComponentsBuilder.fromPath("/another-fake/dummy").build().toUriString();

View File

@@ -35,15 +35,15 @@ public class AnotherFakeApiTest {
/**
* To test special tags
*
* To test special tags
* To test special tags and operation ID starting with number
*
* @throws ApiException
* if the Api call fails
*/
@Test
public void testSpecialTagsTest() throws ApiException {
public void call123testSpecialTagsTest() throws ApiException {
Client client = null;
Client response = api.testSpecialTags(client).block();
Client response = api.call123testSpecialTags(client).block();
// TODO: test validations
}