IApiDefaultResponseMetadataProvider IApiDefaultResponseMetadataProvider IApiDefaultResponseMetadataProvider Interface

Definition

Provides a return type for all HTTP status codes that are not covered by other IApiResponseMetadataProvider instances.

public interface IApiDefaultResponseMetadataProvider : Microsoft.AspNetCore.Mvc.ApiExplorer.IApiResponseMetadataProvider, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata
type IApiDefaultResponseMetadataProvider = interface
    interface IApiResponseMetadataProvider
    interface IFilterMetadata
Public Interface IApiDefaultResponseMetadataProvider
Implements IApiResponseMetadataProvider, IFilterMetadata
Derived
Implements

Methods

SetContentTypes(MediaTypeCollection) SetContentTypes(MediaTypeCollection) SetContentTypes(MediaTypeCollection)

Configures a collection of allowed content types which can be produced by the action.

(Inherited from IApiResponseMetadataProvider)

Properties

StatusCode StatusCode StatusCode

Gets the HTTP status code of the response.

(Inherited from IApiResponseMetadataProvider)

Type Type Type

Gets the optimistic return type of the action.

(Inherited from IApiResponseMetadataProvider)

Applies to