Method
HtmlDocumentationExporter.CreateEndpointBadge
CreateEndpointBadge(RouteMethod, string?) #
Creates an HTML badge element for an API endpoint.
protected virtual HtmlElement? CreateEndpointBadge(RouteMethod method, string? path)Parameters #
method RouteMethod
The HTTP method of the endpoint (e.g. GET, POST, PUT, etc.).
path string?
The 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.