HelpPageConfigurationExtensions.SetSampleResponse Method

Sets the sample request directly for the specified media type of the action.

Name Description
SetSampleResponse(this HttpConfiguration, object, MediaTypeHeaderValue, string, string) Sets the sample request directly for the specified media type of the action.
SetSampleResponse(this HttpConfiguration, object, MediaTypeHeaderValue, string, string, params string[]) Sets the sample response directly for the specified media type of the action with specific parameters.

In this article

Definition