use map/array model class only if it is generated (#17612)

* fix

* tests

* generate samples

* refactor
This commit is contained in:
martin-mfg
2024-01-29 14:35:21 +01:00
committed by GitHub
parent 5055ebade9
commit 9afea50cab
210 changed files with 10550 additions and 6 deletions

View File

@@ -1042,4 +1042,31 @@ public interface FakeApi extends ApiClient.Api {
return this;
}
}
/**
* test referenced string map
*
* @param requestBody request body (required)
*/
@RequestLine("POST /fake/stringMap-reference")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
void testStringMapReference(Map<String, String> requestBody);
/**
* test referenced string map
* Similar to <code>testStringMapReference</code> but it also returns the http response headers .
*
* @param requestBody request body (required)
*/
@RequestLine("POST /fake/stringMap-reference")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
ApiResponse<Void> testStringMapReferenceWithHttpInfo(Map<String, String> requestBody);
}