OpenApiParameter.Content 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.
A map containing the representations for the parameter. The key is the media type and the value describes it. The map MUST only contain one entry. For more complex scenarios, the content property can define the media type and schema of the parameter. A parameter MUST contain either a schema property, or a content property, but not both. When example or examples are provided in conjunction with the schema object, the example MUST follow the prescribed serialization strategy for the parameter.
public System.Collections.Generic.IDictionary<string,Microsoft.OpenApi.Models.OpenApiMediaType> Content { get; set; }
member this.Content : System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.OpenApiMediaType> with get, set
Public Property Content As IDictionary(Of String, OpenApiMediaType)