We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider the following spec, where we declare a GET that returns a list of items:
/list: get: tags: - Example operationId: getExampleList responses: 200: description: OK content: application/json: schema: type: array items: $ref: '#/components/schemas/Example'
When generating a client for this method, using the WebClient dialect, it results in the following code fragment:
public Mono<List<Example>> getExampleList() { ParameterizedTypeReference<List<Example>> typeRef = new ParameterizedTypeReference<List<Example>>(){}; return invokeAPI("/list", "GET", createUrlVariables(), createQueryParameters(), null).bodyToMono(typeRef); }
While I would expect the following:
public Flux<Example> getExampleList() { return invokeAPI("/list", "GET", createUrlVariables(), createQueryParameters(), null).bodyToFlux(Example.class); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Consider the following spec, where we declare a GET that returns a list of items:
When generating a client for this method, using the WebClient dialect, it results in the following code fragment:
While I would expect the following:
The text was updated successfully, but these errors were encountered: