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

Refactor and improve validator #44

Open
yury-palyanitsa opened this issue Nov 6, 2024 · 0 comments
Open

Refactor and improve validator #44

yury-palyanitsa opened this issue Nov 6, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@yury-palyanitsa
Copy link
Collaborator

yury-palyanitsa commented Nov 6, 2024

The current validator is mostly a PoC which is not easily extensible, readable, and testable. Currently supported validations are the most used core validations:

  • CTI syntax validation.
  • Correctness of CTI inheritance chain.
  • Basic correctness of schema inheritance (through inheritance implementation in JSON Schemas) similar to RAML.
  • Schema validation (using gojsonschema).
  • CTI presence check (in definitions and references).
  • CTI reference validation.
  • CTI final validation.

However, the following features are currently missing:

  • Overridable validation.
  • Access modifier validation.
  • Foreign CTI definition check.
  • More advanced/extensible schema inheritance validation.

This needs to be refactored and improved.

@yury-palyanitsa yury-palyanitsa added the enhancement New feature or request label Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant