HomeController Class

Namespace:
Weavy.Web.Areas.Docs.Controllers
Assembly:
Weavy.Web.dll

The controller that will handle requests for the API documentation.

public class HomeController : WeavyController
Inheritance:
System.Object → WeavyControllerHomeController

Constructors

HomeController()
HomeController(HttpConfiguration)

Properties

Configuration

Methods

Authentication() Displays documentation for the authentication "controller".
GetActionDocumentation(string) Returns documentation about the specified api action method.
GetControllerDocumentation(string) Lists the available action methods for the specified api controller.
Index() Lists the available api controllers and action methods.
Token() Displays documentation for the token endpoint.

Extension Methods

Serialize(object) Serializes an object, or graph of connected objects, to a byte array.
SerializeToJson(object, Formatting?, JsonSerializerSettings) Serializes an object, or graph of connected objects, to a json string.
IsValid(object) Determines whether the specified object is valid by evaluating each ValidationAttribute instance that is attached to the object type.