Method CreateEndpointBadge
- Namespace
- Sisk.Documenting.Html
- Assembly
- Sisk.Documenting.Html.dll
CreateEndpointBadge(RouteMethod, string?)
Creates an HTML badge element for an API endpoint.
protected virtual HtmlElement? CreateEndpointBadge(RouteMethod method, string? path)
Parameters
methodRouteMethodThe HTTP method of the endpoint (e.g. GET, POST, PUT, etc.).
pathstringThe path of the endpoint, or null for no path display.
Returns
- HtmlElement
The HTML element representing the endpoint badge, or null if no badge is applicable.
English
Русский
Português
Español
Deutsch
中文 (简体)
日本語