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

[AsyncAPI] Enhance parameters and variables linting #1102

Closed
Tracked by #2100
nulltoken opened this issue Apr 18, 2020 · 1 comment · Fixed by #2101
Closed
Tracked by #2100

[AsyncAPI] Enhance parameters and variables linting #1102

nulltoken opened this issue Apr 18, 2020 · 1 comment · Fixed by #2101
Assignees
Labels
AsyncAPI Issues related to the AsyncAPI ruleset enhancement New feature or request help wanted Extra attention is needed released

Comments

@nulltoken
Copy link
Contributor

In #974, it's been identified that new rules could really be helpful.

Especially:

  • add a rule to ensure all variables used in server url are defined
  • add a rule to ensure all defined server variables are used
  • add a rule to ensure all parameters used in channel path are defined
  • add a rule to ensure all defined channel parameters are used

The oas path-params custom function may be a great source of inspiration to fulfill that.

/cc @derberg

@stoplight-bot
Copy link
Collaborator

🎉 This issue has been resolved in version @stoplight/spectral-rulesets-v1.9.0 🎉

The release is available on npm package (@latest dist-tag)

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AsyncAPI Issues related to the AsyncAPI ruleset enhancement New feature or request help wanted Extra attention is needed released
Projects
None yet
5 participants