Skip to content

Commit

Permalink
Add suppressions for AvoidAnonymousTypes
Browse files Browse the repository at this point in the history
  • Loading branch information
tgoodyear committed Mar 8, 2025
1 parent 3af1b54 commit 087c53b
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion specification/mission/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ These settings apply only when `--tag=package-2024-12-01-preview` is specified o
```yaml $(tag) == 'package-2024-12-01-preview'
input-file:
- Microsoft.Mission/preview/2024-12-01-preview/openapi.json
suppressions:
- code: AvoidAnonymousTypes
from: openapi.json
where: $.definitions."Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate".properties.userAssignedIdentities.additionalProperties
reason: This is an incorrect failure due to a bug in the tool (https://github.com/Azure/typespec-azure/issues/1163)
```

### Tag: package-2024-06-01-preview
Expand All @@ -47,6 +52,11 @@ These settings apply only when `--tag=package-2024-06-01-preview` is specified o
```yaml $(tag) == 'package-2024-06-01-preview'
input-file:
- Microsoft.Mission/preview/2024-06-01-preview/openapi.json
suppressions:
- code: AvoidAnonymousTypes
from: openapi.json
where: $.definitions."Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate".properties.userAssignedIdentities.additionalProperties
reason: This is an incorrect failure due to a bug in the tool (https://github.com/Azure/typespec-azure/issues/1163)
```

---
Expand All @@ -67,6 +77,7 @@ swagger-to-sdk:
- repo: azure-resource-manager-schemas
- repo: azure-cli-extensions
```

## Az

See configuration in [readme.az.md](./readme.az.md)
Expand All @@ -85,4 +96,4 @@ See configuration in [readme.typescript.md](./readme.typescript.md)

## CSharp

See configuration in [readme.csharp.md](./readme.csharp.md)
See configuration in [readme.csharp.md](./readme.csharp.md)

0 comments on commit 087c53b

Please sign in to comment.