mirror of
https://github.com/apache/airflow.git
synced 2026-11-04 07:12:48 +00:00
This change improves the generated code using the OpenAPI schema: - `anyOf` to `oneOf` so that generated clients don't try _all_ schemas, but stop after the first - Fix the header pattern to make it valid against the spec - Use the function name as the default operation ID in the spec. On this last part, this is a different implementation (but same effect) to how we do operation name in the Core API. I will change CoreAPI to use this same method in a separate PR, but I didn't want to touch both APIs in this PR for clarity of git history