Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read properties of null (reading 'swagger') #3

Open
hf-kklein opened this issue Oct 13, 2022 · 0 comments
Open

Cannot read properties of null (reading 'swagger') #3

hf-kklein opened this issue Oct 13, 2022 · 0 comments

Comments

@hf-kklein
Copy link
Contributor

The error message is:

Run thiyagu06/openapi-validator-action@v1
file path ./open_api_specs/openapi.json
schema file full path:/home/runner/work/my_repo_name/my_repo_name/open_api_specs/openapi.json
Cannot read properties of null (reading 'swagger')

The Action yml is:

name: Foo
on: push
jobs:
  check:
    name: Check All
    runs-on: ubuntu-latest
    strategy:
      matrix:
        path: ["./open_api_specs/openapi.json"]
    steps:
      - name: "validate openapi schema ${{matrix.path}}"
        uses: thiyagu06/openapi-validator-action@v1
        with:
          filepath: "${{matrix.path}}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant