Gets or sets the OpenAPI path from the website root. Defaults to /api/. Getting the root path is guaranteed to be in the format "/{path/}", i.e. always starts with a slash, followed by the (optional) path, and is guaranteed to end with a slash.

public string RootPath { get; set; }
Type:
string
In this article