You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
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.
The text was updated successfully, but these errors were encountered: