Example #1
0
 public SwaggerObject(Info info, IReadOnlyDictionary<string, PathItem> paths)
 {
     this.Info = info;
     this.Paths = new Dictionary<string, PathItem>();
     foreach (var pair in paths)
     {
         this.Paths.Add(pair.Key, pair.Value);
     }
 }
Example #2
0
 public SwaggerObject(Info info)
 {
     this.Info = info;
 }