Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Modified suppression syntax to the new one as per TSG.
  • Loading branch information
mjmadhu committed Jan 29, 2024
commit cd1b96a08e1709e923b24f118162cb2934d59f5a
26 changes: 10 additions & 16 deletions specification/playwrighttesting/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,6 @@ For other options on installation see [Installing AutoRest](https://aka.ms/autor

---

## Suppression

```yaml $(suppression)
directive:
- suppress: ResourceNameRestriction
from: playwrighttesting.json
reason: We have enums defined for quota resource names which doesn't support string pattern validation.
- suppress: ProvisioningStateMustBeReadOnly
from: playwrighttesting.json
reason: Seems like a tool bug, as the visibility is set to read in the TypeSpec already.
- suppress: DeleteResponseCode
from: playwrighttesting.json
reason: Seems like a tool bug, as default operations are generated from the TrackedResourceOperations in the TypeSpec.
```
---

## Configuration

### Basic Information
Expand All @@ -55,6 +39,16 @@ These settings apply only when `--tag=package-2024-02-01` is specified on the co
```yaml $(tag) == 'package-2024-02-01'
input-file:
- Microsoft.AzurePlaywrightService/stable/2024-02-01/playwrighttesting.json
suppressions:
- code: ResourceNameRestriction
from: playwrighttesting.json
reason: We have enums defined for quota resource names which doesn't support string pattern validation.
- code: ProvisioningStateMustBeReadOnly
from: playwrighttesting.json
reason: Seems like a tool bug, as the visibility is set to read only in the TypeSpec already.
- code: DeleteResponseCodes
from: playwrighttesting.json
reason: Seems like a tool bug, as default operations with codes are generated from the TrackedResourceOperations in the TypeSpec.
```

### Tag: package-2023-10-01-preview
Expand Down