Exemplo n.º 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);
     }
 }
Exemplo n.º 2
0
 public SwaggerObject(Info info)
 {
     this.Info = info;
 }