Skip to content

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

@hf-kklein

Description

@hf-kklein

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}}"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions