openapi-generator
openapi-generator copied to clipboard
[BUG][JAVA] Feign : Reference to RetryableException is ambiguous
Bug Report Checklist
- [x] Have you provided a full/minimal spec to reproduce the issue?
- [x] Have you validated the input using an OpenAPI validator (example)?
- [x] Have you tested with the latest master to confirm the issue still exists?
- [x] Have you searched for related issues/PRs?
- [x] What's the actual output vs expected output?
- [ ] [Optional] Sponsorship to speed up the bug fix or feature request (example)
Description
I'm trying generate a feign client with Authentification. The code is well generated but not compile with an error "reference to RetryableException is ambiguous"
openapi-generator version
7.3.0
OpenAPI declaration file content or url
Generation Details
Feign Version : 7.3.1
Steps to reproduce
Generate a client with oauth authentification. Use Feign 7.3.1
Related issues/PRs
Suggest a fix
I think the ambiguity is added from this commit https://github.com/OpenFeign/feign/commit/be25759e93d2b94408b44270013d8379ec9b47bd I think adding a cast of the null value in date (For compatibiliy with older feign version) should be valid I will propose a pr