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

Spectral ruleset to check that referenced interfaces are defined on the specific node #169

Open
willosborne opened this issue Apr 22, 2024 · 3 comments
Milestone

Comments

@willosborne
Copy link
Member

Feature Request

Description of Problem:

Currently spectral rules check that referenced interfaces are defined.
It does not check that they're defined on the specified node - so this could potentially cause some confusion.

Potential Solutions:

Either enhance the existing rule to check the node that owns that interface, or make a new rule that performs this check.

@willosborne
Copy link
Member Author

Another rule - check for erroneous ref values. Everything should be $ref and 'ref' should be an error.

@jpgough-ms
Copy link
Member

@willosborne was this implemented?

@rocketstack-matt rocketstack-matt added this to the 1.0 milestone Oct 17, 2024
@willosborne
Copy link
Member Author

@jpgough-ms no, this is still unimplemented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants