OpenApiOperation.RequestBody Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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