Skip to content

[BUG][Kotlin] jvm-spring-restclient and jvm-spring-webclient are not compatible with Spring Framework 7 #22368

@jwalter

Description

@jwalter

Bug Report Checklist

  • Have you provided a full/minimal spec to reproduce the issue?
  • Have you validated the input using an OpenAPI validator?
  • Have you tested with the latest master to confirm the issue still exists?
  • Have you searched for related issues/PRs?
  • What's the actual output vs expected output?
  • [Optional] Sponsorship to speed up the bug fix or feature request (example)
Description

For jvm-spring-restclient and jvm-spring-webclient, the generated ApiClient includes a request function with type signature that is not compatible with Spring Framework 7.
protected inline fun <reified I : Any, reified T: Any?> request(requestConfig: RequestConfig<I>): Mono<ResponseEntity<T>> {
should be
protected inline fun <reified I : Any, reified T: Any> request(requestConfig: RequestConfig<I>): Mono<ResponseEntity<T>> {

openapi-generator version

7.17.0

OpenAPI declaration file content or url

Any OpenAPI declaration file

Generation Details
Steps to reproduce
Related issues/PRs
Suggest a fix

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions