ApiResponseFormat Class¶
Possible format for an Microsoft.AspNetCore.Mvc.ApiExplorer.ApiResponseType
.
- Namespace
Microsoft.AspNetCore.Mvc.ApiExplorer
- Assemblies
- Microsoft.AspNetCore.Mvc.ApiExplorer
Properties¶
-
Microsoft.AspNetCore.Mvc.ApiExplorer.ApiResponseFormat.
Formatter
¶ Gets or sets the formatter used to output this response.
Return type: Microsoft.AspNetCore.Mvc.Formatters.IOutputFormatter public IOutputFormatter Formatter { get; set; }
-
Microsoft.AspNetCore.Mvc.ApiExplorer.ApiResponseFormat.
MediaType
¶ Gets or sets the media type of the response.
Return type: System.String public string MediaType { get; set; }
-