Skip to content

Commit

Permalink
[AIRFLOW-6929] Add OpenAPI spec (#7549)
Browse files Browse the repository at this point in the history
  • Loading branch information
mik-laj authored Apr 4, 2020
1 parent a361c04 commit 11f1e0c
Show file tree
Hide file tree
Showing 2 changed files with 2,081 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,18 @@ repos:
entry: koalaman/shellcheck:stable -x -a
files: ^breeze$|^breeze-complete$|\.sh$|^hooks/build$|^hooks/push$|\.bash$|\.bats$
exclude: ^airflow/_vendor/.*$
- id: lint-openapi
name: Lint OpenAPI using speccy
language: docker_image
entry: wework/speccy lint
files: ^openapi.yaml$
- id: lint-openapi
name: Litn OpenAPI using openapi-spec-validator
entry: openapi-spec-validator --schema 3.0.0 openapi.yaml
language: python
additional_dependencies: ['openapi-spec-validator']
pass_filenames: false
files: ^openapi.yaml$
- id: lint-dockerfile
name: Lint dockerfile
language: system
Expand Down
Loading

0 comments on commit 11f1e0c

Please sign in to comment.