aspnetcore/test/WebSites/ApiExplorerWebSite
Pranav K 9c424b7b02
Use content-type specified by ProducesAttribute if no formatter supports it
This allows users to use `ProducesAttribute` to specify the content-type
for action results such as FileStreamResult where the result determines the content type
and the specified value is informational.

Fixes https://github.com/aspnet/Mvc/issues/5701
2018-09-19 13:51:31 -07:00
..
Controllers Use content-type specified by ProducesAttribute if no formatter supports it 2018-09-19 13:51:31 -07:00
Models
ActionDescriptorChangeProvider.cs
ApiExplorerDataFilter.cs
ApiExplorerInboundOutboundConvention.cs
ApiExplorerRouteChangeConvention.cs
ApiExplorerVisibilityDisabledConvention.cs
ApiExplorerVisibilityEnabledConvention.cs
ApiExplorerWebSite.csproj
PassThruAttribute.cs
ReloadAttribute.cs
Startup.cs
WellKnownChangeToken.cs
readme.md

readme.md

ApiExplorerWebSite

This web site illustrates various ways to enable and disable api explorer discovery for actions. This also demonstrates how to consume api explorer data.