Skip to content

V2 - Incorrect nullability for RequestBody Content property #2288

@baywet

Description

@baywet

Request body Content is declared as

IDictionary<string, OpenApiMediaType>?

I believe it should be

IDictionary<string, OpenApiMediaType?>?

Reasoning: in the spec none of the properties of media type are required, so you could perfectly have the request body be simply

content:
- application/octet-stream:

Validated with @darrelmiller on an internal conversation.

Metadata

Metadata

Assignees

Labels

priority:p1High priority but not blocking. Causes major but not critical loss of functionality SLA <=7daystype:bugA broken experience

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions