swaggerUiEndpoint
Sets up required endpoints for serving Swagger UI.
Swagger UI will be served from the given path.
You must call this from the root routing
block, as the path is considered to be the full path from the root of your API.
Parameters
path
The path from which Swagger UI will be served
openApiPath
The path from which Swagger UI will grab the OpenAPI document. Can also be a URL.