Skip to content

Event Grid: ARM events use incorrect schema #16369

Open
@JoshLove-msft

Description

@JoshLove-msft

The swagger for the ARM events use an incorrect definition for the claims, httpRequest, and authorization properties. In the swagger, these properties are defined as string, but they are actually delivered as JSON objects. This is evident in the docs where examples of expected events are provided showing JSON objects for the properties mentioned above.

Having the incorrect definition for these properties has led to generating incorrect model definitions in the SDKs. Customers have filed this issue for the .NET SDK. As a workaround in the .NET SDK, we are converting the JSON object into a JSON string so that customers don't hit exceptions. However, a better solution would be to define new properties that correspond to the correct schema for these properties. In order to do this, we need to know what the correct schema is for these properties.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions