Skip to content

Connexion 3 breaks init-views #35234

@potiuk

Description

@potiuk

Body

airflow/www/extensions/init_views imports connexion.decorators.validation.RequestBodyValidator
connexion v3 has refactored the entire module to middleware, see: spec-first/connexion#1525
Specifically, RequestBodyValidator was removed in: spec-first/connexion#1595
The usage was added in #30596, seemingly only to override and improve the default error message.
Either revert that change or find another way, preferably without using connexion internals.

Committer

  • I acknowledge that I am a maintainer/committer of the Apache Airflow project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions