コード例 #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);
     }
 }
コード例 #2
0
ファイル: SwaggerObject.cs プロジェクト: gritcsenko/OpenAPI
 public SwaggerObject(Info info)
 {
     this.Info = info;
 }