Method
HtmlDocumentationExporter.GetEndpointId
- Assembly
- Sisk.Documenting.Html.dll
GetEndpointId(ApiEndpoint) #
Gets the unique HTML ID of an API endpoint, derived from its method and route path.
protected string GetEndpointId(ApiEndpoint endpoint)
Parameters #
endpoint ApiEndpoint
The API endpoint.
Returns #
string
The endpoint ID, which is safe for use in HTML and CSS selectors.