Skip to content

NRE if RequestBody.Extensions is set to null #532

Open
@Tasteful

Description

@Tasteful

The RequestBody.Extensions is initiated with a dictionary but if this is set to null the following line will throw an NullReferenceException that is very hard to track down without any pointer of what the source object it is.

Extensions = RequestBody.Extensions.ToDictionary(k => k.Key, v => v.Value) // Clone extensions so we can remove the x-bodyName extensions from the output V2 model.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugA broken experience

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions