Method Rest(RouteBuilder, string, Action<RestOptions>?)

Assembly: redb.Route.Http.dll

Starts a REST declaration under basePath. Each verb finished with To(...)
or Route() becomes an HTTP route on the shared Kestrel host; an OpenAPI document is served
at (default {basePath}/openapi.json).

public static RestDefinition Rest(this RouteBuilder builder, string basePath, Action<RestOptions>? configure = null)