This commit is contained in:
@@ -400,6 +400,7 @@ namespace AyaNova
|
||||
$"/swagger/{description.GroupName}/swagger.json",
|
||||
description.GroupName.ToUpperInvariant());
|
||||
}
|
||||
options.DocExpansion(Swashbuckle.AspNetCore.SwaggerUI.DocExpansion.None);
|
||||
options.DefaultModelsExpandDepth(-1);//This is meant to hide the Models section that would appear at the bottom of the swagger ui showing *all* models from the api
|
||||
options.DocumentTitle = "AyaNova API explorer";
|
||||
options.RoutePrefix = "api-docs";
|
||||
|
||||
Reference in New Issue
Block a user