Pages Core

NuGet packageOwin.Framework.Pages.Core
GitHub sourceOwinFramework.Pages.Core

Home |  Readme

[Description] attribute | The OWIN Framework Pages

The [Description] Attribute

You can attach this attribute to pages, services and service endpoints to include the desciption into self-documentation for the website API.

Example Usage

[Description("<h1>My Service</h1><p>Is awesome</p>")]
internal class MyService
    [Description("<h1>My Endpoint</h1><p>Does amazing things</p>")]
    public void MyEndpoint(IEndpointRequest request)