Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
interface Microsoft.​AspNetCore.​Http.​Metadata.​IProducesResponseTypeMetadata
Assembly: Microsoft.AspNetCore.Http.Abstractions
Defines a contract for outline the response type returned from an endpoint.
Properties
Gets the optimistic return type of the action.
int
StatusCode
Gets the HTTP status code of the response.
string
Description
Gets the description of the response.
System.​Collections.​Generic.​IEnumerable<​string>
ContentTypes
Gets the content types supported by the metadata.