You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add paths array to simplify multi-version suppressions:
- tool: TypeSpecRequirement
paths:
- data-plane/Azure.Contoso.WidgetManager/preview/2022-11-01-preview/**/*.json
- data-plane/Azure.Contoso.WidgetManager/preview/2023-11-01-preview/**/*.json
- data-plane/Azure.Contoso.WidgetManager/preview/2024-11-01-preview/**/*.json
reason: Same reason for all versions
This is equivalent and would also be an allowed alternative:
- tool: TypeSpecRequirement
path: data-plane/Azure.Contoso.WidgetManager/preview/2022-11-01-preview/**/*.json
reason: Same reason for all versions
- tool: TypeSpecRequirement
path: data-plane/Azure.Contoso.WidgetManager/preview/2023-11-01-preview/**/*.json
reason: Same reason for all versions
- tool: TypeSpecRequirement
path: data-plane/Azure.Contoso.WidgetManager/preview/2024-11-01-preview/**/*.json
reason: Same reason for all versions
Open Issues
How to require eitherpath or paths in zod validation library?
What if both path and paths specified?
Add path to array
Add path to array AND warn
Error
The text was updated successfully, but these errors were encountered:
Summary
Add
paths
array to simplify multi-version suppressions:This is equivalent and would also be an allowed alternative:
Open Issues
path
orpaths
inzod
validation library?path
andpaths
specified?The text was updated successfully, but these errors were encountered: