As shown in the following sample, with endpoint "query" returning "QueryResponse" type conflicts with the generated code for ClientWithResponsesInterface which also produce "QueryResponse" type to wrap the HTTP responses.
paths:
/query:
post:
tags:
- Search
summary: Queries using the input request criteria.
description: "The API supports full-text search"
operationId: Query
parameters:
- $ref: "#/components/parameters/data-id"
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/QueryRequest"
responses:
"200":
description: Success
content:
application/json:
schema:
$ref: "#/components/schemas/QueryResponse"