/// <summary> /// Configures the UI elements / front end functionality of swagger /// </summary> /// <param name="uiConfig"></param> private static void ConfigureSwaggerUI(SwaggerUiConfig uiConfig) { uiConfig.DocExpansion(DocExpansion.None); uiConfig.DisableValidator(); uiConfig.EnableDiscoveryUrlSelector(); }
private static void ConfigureUi(SwaggerUiConfig config) { config.DocExpansion(DocExpansion.List); config.DisableValidator(); }