コード例 #1
0
 private IEnumerable <MappingModel> MapPaths(OpenApiPaths paths, IList <OpenApiServer> servers)
 {
     return(paths.Select(p => MapPath(p.Key, p.Value, servers)).SelectMany(x => x));
 }
コード例 #2
0
 public static IEnumerable <ILocatedOpenApiElement <OpenApiPathItem> > ToLocatedElements(this OpenApiPaths paths) =>
 paths.Select(p => p.Value.CreateRoot(p.Key));
コード例 #3
0
 private IEnumerable <MappingModel> MapPaths(OpenApiPaths paths)
 {
     return(paths.Select(p => MapPath(p.Key, p.Value)).SelectMany(x => x));
 }