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
When using the OpenAPI spec provided by Apache Airflow, tools that validate or consume the spec (such as openapi-core, openapi-spec-validator, and code generators) fail with a DuplicateOperationIDError. The error message states that the operationId 'get_task_instance_dependencies' is not unique, even though the routes for these operations are different.
This prevents automated tooling, client generation, and some integrations from working with the Airflow OpenAPI spec.
What you think should happen instead?
According to the OpenAPI specification, every operationId must be unique across the entire API, regardless of the route or HTTP method. The Airflow OpenAPI spec should ensure that all operationId values are unique.
How to reproduce
Download the OpenAPI spec (openapi.json) from a running Airflow instance or from the Airflow source.(http://localhost:8080/openapi.json)
Run any OpenAPI validator or code generator, such as:
Activity