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

Should suppressions allow patterns? #76

Open
tjprescott opened this issue Mar 18, 2025 · 0 comments
Open

Should suppressions allow patterns? #76

tjprescott opened this issue Mar 18, 2025 · 0 comments
Labels
design issues related to the design of the tool itself

Comments

@tjprescott
Copy link
Owner

Currently, suppressions only allow you to target a specific path. If that path is then expanded, the suppression propagates so that, for example, an issue in a single definition that is used 100 times doesn't require 100 suppressions (just the 1).

However, there are other kinds of issues, such as where a TypeSpec operation template adds parameters to every operation. This results in many of unique paths that all have to be individually suppressed because the issues are duplicated in the generated Swagger itself.

Should we allow some kind of wildcard mechanism for targeting multiple paths?

@tjprescott tjprescott added the design issues related to the design of the tool itself label Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design issues related to the design of the tool itself
Projects
None yet
Development

No branches or pull requests

1 participant