Skip to content

Conversation

rashap224
Copy link

Issue Reference : Fixes #366

Description: This pull request introduces a GitHub Actions workflow to validate the OpenAPI syntax of the following files:

meta.yaml
registry.yaml
transaction.yaml
The workflow ensures that:

  • Any syntax errors in these files will fail the pull request checks.
  • Only valid OpenAPI specifications are merged into the master branch.

Key Changes:
Added openapi-validation.yml to define the validation process.
Utilized @redocly/openapi-cli for OpenAPI 3.0 validation.

Testing:
The workflow runs automatically on pull requests and validates the specified files. If any syntax errors are found, the workflow will fail, preventing the PR from being merged until the errors are resolved.

Impact:
This ensures that the master branch remains free of OpenAPI syntax errors, improving the reliability of the specifications.

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

Successfully merging this pull request may close these issues.

Need automated Open API syntax validation on submitting PR to master
1 participant