HelpPageConfigurationExtensions.SetActualResponseType Method

Specifies the actual type of ObjectContent<T> returned as part of the HttpRequestMessage in an action. The help page will use this information to produce more accurate response samples.

Name Description
SetActualResponseType(this HttpConfiguration, Type, string, string) Specifies the actual type of ObjectContent<T> returned as part of the HttpRequestMessage in an action. The help page will use this information to produce more accurate response samples.
SetActualResponseType(this HttpConfiguration, Type, string, string, params string[]) Specifies the actual type of ObjectContent<T> returned as part of the HttpRequestMessage in an action. The help page will use this information to produce more accurate response samples.

In this article

Definition