Skip to content

Commit

Permalink
Add OpenAPI spec (apache#7549)
Browse files Browse the repository at this point in the history
  • Loading branch information
mik-laj authored and Kamil Breguła committed May 26, 2020
1 parent 030261a commit 8786131
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 @@ -175,6 +175,18 @@ metastore_browser/templates/.*\\.html$|.*\\.jinja2"
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 8786131

Please sign in to comment.