forked from loafle/openapi-generator-original
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user