/// <summary> /// /// </summary> /// <param name="next"></param> /// <param name="options"></param> public ApiExplorerUIInitJsonMIddleware( RequestDelegate next, ApiExplorerUIOptions options) { this.next = next; this.requestMatcher = new TemplateMatcher(TemplateParser.Parse(options.InitJsonPath), new RouteValueDictionary()); this.options = options; }
/// <summary> /// /// </summary> /// <param name="options"></param> public ApiExplorerUIInitJsonMIddleware(ApiExplorerUIOptions options) { this.options = options; }