Question

I'm developing an API that outputs a different response based on the user, and I'm currently using the ResponseType attribute to describe the type of response that's returned, but this only allows me to specify one type of response, which will differ between users.

Is there any way I can customise the help pages to display the response type that the user will get?

Was it helpful?

Solution

HelpPage does not support these dynamic response types and relies on available static information.

HelpPage doesn't support multiple response types as mentioned earlier...the fact that we are allowing multiple attributes of ResponseType is a bug...as per current code logic, even if you supply multiple attributes, we only pick one...

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top