Skip to content

EventGrid: 2021-12-01 sdk generation failing on resourceIds #2341

Closed
@catriona-m

Description

@catriona-m

Generating EventGrid 2021-12-01 gives the following error:

Error: -31T09:49:08.366Z [ERROR]      💥 Error: parsing Swagger files: parsing files in "../../../swagger/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01": parsing Resource Ids from "/EventGrid.json" (Service "EventGrid" / Api Version "2021-12-01"): finding Resource IDs: mapping Processed Resource IDs to the Input Resource IDs: couldn't find the processed ID Name for Resource URI "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{parentType}/{parentName}/privateEndpointConnections"
    run_validate_can_parse_data_test.go:75: error: parsing Swagger files: parsing files in "../../../swagger/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01": parsing Resource Ids from "/EventGrid.json" (Service "EventGrid" / Api Version "2021-12-01"): finding Resource IDs: mapping Processed Resource IDs to the Input Resource IDs: couldn't find the processed ID Name for Resource URI "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{parentType}/{parentName}/privateEndpointConnections"

The parentType here can be either topics or domains: https://github.com/Azure/azure-rest-api-specs/blob/3a8a03746104623f69c3dccab27ad1ac842a7130/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/EventGrid.json#L2637

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions