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