forked from loafle/openapi-generator-original
[java] improve petstore tests with openapi v3 spec (#16447)
* regenerate tests in jersey2-java8 client * update samples * fix java google api client tests * update java resteasy to use v3 spec for tests * update java vertx to test with v3 spec * update java resttemplate to test with v3 spec * add new files * regenerate jersey1 tests
This commit is contained in:
@@ -10,7 +10,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2*
|
||||
|
||||
## call123testSpecialTags
|
||||
|
||||
> Client call123testSpecialTags(uuidTest, body)
|
||||
> Client call123testSpecialTags(client)
|
||||
|
||||
To test special tags
|
||||
|
||||
@@ -32,10 +32,9 @@ public class Example {
|
||||
defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
|
||||
|
||||
AnotherFakeApi apiInstance = new AnotherFakeApi(defaultClient);
|
||||
UUID uuidTest = UUID.randomUUID(); // UUID | to test uuid example value
|
||||
Client body = new Client(); // Client | client model
|
||||
Client client = new Client(); // Client | client model
|
||||
try {
|
||||
Client result = apiInstance.call123testSpecialTags(uuidTest, body);
|
||||
Client result = apiInstance.call123testSpecialTags(client);
|
||||
System.out.println(result);
|
||||
} catch (ApiException e) {
|
||||
System.err.println("Exception when calling AnotherFakeApi#call123testSpecialTags");
|
||||
@@ -53,8 +52,7 @@ public class Example {
|
||||
|
||||
| Name | Type | Description | Notes |
|
||||
|------------- | ------------- | ------------- | -------------|
|
||||
| **uuidTest** | **UUID**| to test uuid example value | |
|
||||
| **body** | [**Client**](Client.md)| client model | |
|
||||
| **client** | [**Client**](Client.md)| client model | |
|
||||
|
||||
### Return type
|
||||
|
||||
|
||||
Reference in New Issue
Block a user