Esempio n. 1
0
        public ToSplitOpenApi(string sourceFile)
        {
            string jsonString;

            using (StreamReader streamReader = File.OpenText(sourceFile))
            {
                jsonString = streamReader.ReadToEnd();
            }
            OpenApi inputOpenApi = JsonConvert.DeserializeObject <OpenApi>(jsonString);

            _inputOpenApi = inputOpenApi;
        }
Esempio n. 2
0
 public SplitOpenApi(OpenApi unSplitApi, in KeyValuePair<string, JObject> method, in KeyValuePair<string, Dictionary<string, JObject>> path)