Use inline allof instead of $ref in echo test (#14429)

* use inline allof instead of $ref in echo test

* update samples

* update samples

* fix tests
This commit is contained in:
William Cheng
2023-01-13 17:21:28 +08:00
committed by GitHub
parent ed2029f863
commit cf4f2c76b2
33 changed files with 1121 additions and 144 deletions

View File

@@ -317,7 +317,7 @@ public class Example {
defaultClient.setBasePath("http://localhost:3000");
QueryApi apiInstance = new QueryApi(defaultClient);
BirdAndCategory queryObject = new BirdAndCategory(); // BirdAndCategory |
TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject = new TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter(); // TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter |
try {
String result = apiInstance.testQueryStyleDeepObjectExplodeTrueObjectAllOf(queryObject);
System.out.println(result);
@@ -337,7 +337,7 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **queryObject** | [**BirdAndCategory**](.md)| | [optional] |
| **queryObject** | [**TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter**](.md)| | [optional] |
### Return type
@@ -383,7 +383,7 @@ public class Example {
defaultClient.setBasePath("http://localhost:3000");
QueryApi apiInstance = new QueryApi(defaultClient);
BirdAndCategory queryObject = new BirdAndCategory(); // BirdAndCategory |
TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject = new TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter(); // TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter |
try {
ApiResponse<String> response = apiInstance.testQueryStyleDeepObjectExplodeTrueObjectAllOfWithHttpInfo(queryObject);
System.out.println("Status code: " + response.getStatusCode());
@@ -405,7 +405,7 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **queryObject** | [**BirdAndCategory**](.md)| | [optional] |
| **queryObject** | [**TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter**](.md)| | [optional] |
### Return type