Skip to content

thiyagu06/openapi-validator-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

openapi-validator-action

This action validates whether the OpenAPI/Swagger schema file is valid or not

Inputs

filepath

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'

Example usage

- 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.

About

Github action to validate if the OpenAPI schema file is valid or not

Resources

License

Stars

Watchers

Forks

Packages

No packages published