mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-09 19:36:09 +00:00
[Java][WebClient] return ResponseSpec to manually control response handling (#12843)
This commit is contained in:
@@ -88,8 +88,26 @@ public class DefaultApi {
|
||||
return nullableArrayTestGetRequestCreation().bodyToFlux(localVarReturnType);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* <p><b>200</b> -
|
||||
* @return ResponseEntity<List<ByteArrayObject>>
|
||||
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
public Mono<ResponseEntity<List<ByteArrayObject>>> nullableArrayTestGetWithHttpInfo() throws WebClientResponseException {
|
||||
ParameterizedTypeReference<ByteArrayObject> localVarReturnType = new ParameterizedTypeReference<ByteArrayObject>() {};
|
||||
return nullableArrayTestGetRequestCreation().toEntityList(localVarReturnType);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* <p><b>200</b> -
|
||||
* @return ResponseSpec
|
||||
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
|
||||
*/
|
||||
public ResponseSpec nullableArrayTestGetWithResponseSpec() throws WebClientResponseException {
|
||||
return nullableArrayTestGetRequestCreation();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user