/// <summary> /// 注册ApiExplorer服务 /// </summary> /// <param name="app"></param> /// <param name="configure"></param> /// <param name="apiExplorerGenerateProvider"></param> /// <returns></returns> public static HttpApplication AddApiExplorer(this HttpApplication app, Action <ApiExplorerGeneratorOptions> configure, IGenerateProvider apiExplorerGenerateProvider = null) { return(app.AddApiExplorerGenerator(configure)); }