You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Java Client generation using the Airflow OpenAPI Spec (3.1) #72466
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
The Java SDK supports better way to interact with Airflow natively.
Would appreciate your feedback on what else should Airflow Java SDK should support to fulfill your usecase.
I can reproduce the generated Java client failures with the current Airflow OpenAPI spec and OpenAPI Generator, then narrow the fix to one remaining reproducible codegen/Javadoc issue beyond the already-fixed / Accept header case.
I’ll keep the PR focused, add a regression or reproduction test where appropriate, and document the relevant spec/generator behavior so the generated client compiles cleanly.
If this scope is still welcome, please assign this issue to me.
The root cause is in OpenAPI Generator rather than Airflow, so I opened OpenAPITools/openapi-generator#24972. It preserves the runtime default value, escapes only the value rendered in Java Javadocs, and adds a regression test for the */* case. The PR is ready for maintainer review.
Activity
boring-cyborg commentedon Sep 3, 2026
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
jason810496 commentedon Sep 4, 2026
Hi @ericBenchant,
We support Java SDK since 3.3.0 -- https://airflow.apache.org/docs/apache-airflow/stable/authoring-and-scheduling/language-sdks/java.html.
I just gave a talk about the further roadmap of Java SDK in Airflow Submit this year -- https://drive.google.com/file/d/1qgdT4nWKMlNMdqH8EqR46NKL7JoKFtKY/view?usp=sharing.
The Java SDK supports better way to interact with Airflow natively.
Would appreciate your feedback on what else should Airflow Java SDK should support to fulfill your usecase.
Felix-ming commentedon Sep 20, 2026
Hi! I’d like to take this issue.
I can reproduce the generated Java client failures with the current Airflow OpenAPI spec and OpenAPI Generator, then narrow the fix to one remaining reproducible codegen/Javadoc issue beyond the already-fixed / Accept header case.
I’ll keep the PR focused, add a regression or reproduction test where appropriate, and document the relevant spec/generator behavior so the generated client compiles cleanly.
If this scope is still welcome, please assign this issue to me.
Felix-ming commentedon Sep 21, 2026
The root cause is in OpenAPI Generator rather than Airflow, so I opened OpenAPITools/openapi-generator#24972. It preserves the runtime default value, escapes only the value rendered in Java Javadocs, and adds a regression test for the
*/*case. The PR is ready for maintainer review.jason810496 commentedon Sep 21, 2026
Close this PR as this is out of scope of Airflow. This is an issue of openapi-generator instead.