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

Need a pre-commit hook for Open API syntax validation for Beckn core specification #403

Open
rajaneeshk90 opened this issue Jan 24, 2024 · 0 comments
Assignees

Comments

@rajaneeshk90
Copy link
Collaborator

rajaneeshk90 commented Jan 24, 2024

Issue:
Occasionally, when modifications are made to the Beckn core specification, unnoticed syntactical errors may arise, necessitating manual identification and correction.

Proposed Resolution:
Implement a Git pre-commit script to execute on the user's local machine when committing changes to the Beckn specification. This script should conduct validation checks on transaction.yaml, meta.yaml, and registry.yaml against the OpenAPI 3.0 specification.

Anticipated Result:
The implementation of this script should prevent the introduction of any syntactical errors into the core specification with each new commit.

Acceptance Criteria:

Commits containing syntax errors in the OpenAPI spec should result in failure.
Commits free of syntax errors in the OpenAPI spec should pass the validation process.

@rajaneeshk90 rajaneeshk90 changed the title Need a pre-commit hook for Open API syntax validation Need a pre-commit hook for Open API syntax validation for Beckn core specification Feb 14, 2024
@rajaneeshk90 rajaneeshk90 self-assigned this Jan 15, 2025
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