ApiResponseFormat Class

Summary

Represents a possible format for the body of a response.

Syntax

public class ApiResponseFormat

GitHub

View on GitHub

class Microsoft.AspNet.Mvc.ApiExplorer.ApiResponseFormat

Properties

Formatter()

The formatter used to output this response.

Return type:Microsoft.AspNet.Mvc.IOutputFormatter
public IOutputFormatter Formatter { get; set; }
MediaType()

The media type of the response.

Return type:MediaTypeHeaderValue
public MediaTypeHeaderValue MediaType { get; set; }