Skip to content
New issue

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

[Java] [Feign] Add support for Feign 13 #1335

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lucasls
Copy link

@lucasls lucasls commented Feb 24, 2025

As pointed out in the issue swagger-api/swagger-codegen#12524, compilation fails for generated classes when Feign 13 and above are used.

The reason is version 13 adds an overload to the RetryableException constructor with the type Long instead of Date, and the value is passed as null causing the compiler to fail to resolve the constructor.

This PR applies swagger-api/swagger-codegen#12525 for version 3.0

@@ -12,7 +12,7 @@

<groupId>io.swagger.codegen.v3</groupId>
<artifactId>swagger-codegen-generators</artifactId>
<version>1.0.56</version>
<version>1.0.57-SNAPSHOT</version>
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if I should have bumped it here, let me know if I should revert

@lucasls
Copy link
Author

lucasls commented Feb 24, 2025

Hey @frantuma, this part of the fix to support Feign 13, fixing the 3.0 generator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant