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

feat(rules): add new configurable rules for deprecated operations #45

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jeremyfiel
Copy link
Contributor

New ruleset for enforcing a deprecation strategy with Deprecation, Sunset and Link headers.

@jeremyfiel jeremyfiel force-pushed the feat/operation-deprecation-strategy branch from 5eb0f11 to 4c45929 Compare October 24, 2024 12:58
@tatomyr
Copy link
Contributor

tatomyr commented Dec 2, 2024

I'd prefer having this as a new ruleset instead of separate rules. First, they are closely related and it makes sense to use them together. Second, there's no particular complexity in defining such rules, and the value comes not from the configuration examples, but rather from using the rules themselves.
Then, it would be really easy to use the ruleset with this config in redocly.yaml:

extends:
- recommended # or something
- https://..... # the ruleset uri

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

Successfully merging this pull request may close these issues.

2 participants