OpenApiOperation.RequestBody Property

Definition

The request body applicable for this operation. The requestBody is only supported in HTTP methods where the HTTP 1.1 specification RFC7231 has explicitly defined semantics for request bodies. In other cases where the HTTP spec is vague, requestBody SHALL be ignored by consumers.

public Microsoft.OpenApi.Models.OpenApiRequestBody RequestBody { get; set; }
member this.RequestBody : Microsoft.OpenApi.Models.OpenApiRequestBody with get, set
Public Property RequestBody As OpenApiRequestBody

Property Value

Applies to