diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 65c5cf10fc2a8..1efa63e75ab1f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -365,7 +365,7 @@ repos: name: Lint OpenAPI using openapi-spec-validator entry: openapi-spec-validator --schema 3.0.0 language: python - additional_dependencies: ['openapi-spec-validator>=0.6.0'] + additional_dependencies: ['openapi-spec-validator>=0.7.1', 'openapi-schema-validator>=0.6.2'] files: ^airflow/api_connexion/openapi/ - id: lint-dockerfile name: Lint Dockerfile diff --git a/airflow/providers/amazon/provider.yaml b/airflow/providers/amazon/provider.yaml index fcbb84b5d33ad..bcde2ad278696 100644 --- a/airflow/providers/amazon/provider.yaml +++ b/airflow/providers/amazon/provider.yaml @@ -126,6 +126,8 @@ devel-dependencies: - mypy-boto3-redshift-data>=1.33.0 - mypy-boto3-s3>=1.33.0 - s3fs>=2023.10.0 + - openapi-schema-validator>=0.6.2 + - openapi-spec-validator>=0.7.1 integrations: - integration-name: Amazon Athena diff --git a/generated/provider_dependencies.json b/generated/provider_dependencies.json index 50ef20614eb4d..46c83a497ad61 100644 --- a/generated/provider_dependencies.json +++ b/generated/provider_dependencies.json @@ -46,7 +46,9 @@ "mypy-boto3-rds>=1.33.0", "mypy-boto3-redshift-data>=1.33.0", "mypy-boto3-s3>=1.33.0", - "s3fs>=2023.10.0" + "s3fs>=2023.10.0", + "openapi-schema-validator>=0.6.2", + "openapi-spec-validator>=0.7.1" ], "cross-providers-deps": [ "apache.hive", diff --git a/pyproject.toml b/pyproject.toml index 882b65475d8e0..d862c06baf6ee 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -565,6 +565,8 @@ amazon = [ # source: airflow/providers/amazon/provider.yaml "mypy-boto3-redshift-data>=1.33.0", "mypy-boto3-s3>=1.33.0", "s3fs>=2023.10.0", + "openapi-schema-validator>=0.6.2", + "openapi-spec-validator>=0.7.1", ] apache-beam = [ # source: airflow/providers/apache/beam/provider.yaml "apache-beam>=2.53.0;python_version != \"3.12\"",