IApiDefaultResponseMetadataProvider Interface
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.
Provides a return type for all HTTP status codes that are not covered by other IApiResponseMetadataProvider instances.
public interface class IApiDefaultResponseMetadataProvider : Microsoft::AspNetCore::Mvc::ApiExplorer::IApiResponseMetadataProvider, Microsoft::AspNetCore::Mvc::Filters::IFilterMetadata
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
Properties
StatusCode |
Gets the HTTP status code of the response. (Inherited from IApiResponseMetadataProvider) |
Type |
Gets the optimistic return type of the action. (Inherited from IApiResponseMetadataProvider) |
Methods
SetContentTypes(MediaTypeCollection) |
Configures a collection of allowed content types which can be produced by the action. (Inherited from IApiResponseMetadataProvider) |