GitHub Action
openapi-validator-action
v1
Latest version
This action validates whether the OpenAPI/Swagger schema file is valid or not
Required Path of the OpenAPI schema file. Default is "openapi.yaml"
at root. Path starts root of github repo.
For example, if your schema is in schemas
folder.
root
├── schemas
│ └── openapi.yaml
├── package.json
└── package-lock.json
You should use filepath: './schemas/openapi.yaml'
- name: 'validate openapi schema'
uses: thiyagu06/openapi-validator-action@v1
with:
filepath: 'openapi.yaml'
You can specify version with @v<release-version>
. It follows semantic release. For latest release, please check releases page.