API
WithName
Assigns a unique endpoint name; used for operation identifiers by OpenAPI.
Formal Syntax & Structure
csharp syntaxcsharp
route.WithName("GetBook")Working Example
Example Snippetcsharp
// Documentary fragment; see linked lesson for context.route.WithName("GetBook")