-
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Closed
Closed
Copy link
Labels
Description
Description
Spring Framework 7 removed several methods from the HttpHeaders class. The generated ApiClient template uses removed methods (containsKey and entrySet) that have been removed in favor of new methods (containsHeader and headerSet).
spring-projects/spring-framework#33913
openapi-generator version
7.14.0
OpenAPI declaration file content or url
Generation Details
Spring Framework 7.0.0-M7 or Spring Boot 4.0.0-M1
generatorName = "java"
library = "restclient"
Suggest a fix
headerSet() exists as of Spring Framework 6.1.15 but containsHeader was added with Spring Framework 7.0, and unfortunately at this time there is no fallback or intermediate solution, and likely a new generation option for using Spring Framework 7 or Spring Boot 4 might be necessary.
ahoehma