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

@@ -162,7 +162,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);
@@ -181,7 +181,7 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **queryObject** | [**BirdAndCategory**](.md)| | [optional] |
| **queryObject** | [**TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter**](.md)| | [optional] |
### Return type

View File

@@ -0,0 +1,16 @@
# TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter
## Properties
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**size** | **String** | | [optional] |
|**color** | **String** | | [optional] |
|**id** | **Long** | | [optional] |
|**name** | **String** | | [optional] |