Hapikit.OpenApiDocument.AddPath C# (CSharp) Méthode

AddPath() public méthode

public AddPath ( string path, Action configure = null ) : Path
path string
configure Action
Résultat Path
        public Path AddPath(string path, Action<Path> configure = null)
        {
            var pathInfo = new Path();
            Paths.Add(path, pathInfo);
            if (configure != null) configure(pathInfo);
            return pathInfo;
        }