public ToSplitOpenApi(string sourceFile) { string jsonString; using (StreamReader streamReader = File.OpenText(sourceFile)) { jsonString = streamReader.ReadToEnd(); } OpenApi inputOpenApi = JsonConvert.DeserializeObject <OpenApi>(jsonString); _inputOpenApi = inputOpenApi; }
public SplitOpenApi(OpenApi unSplitApi, in KeyValuePair<string, JObject> method, in KeyValuePair<string, Dictionary<string, JObject>> path)