modules/jooby-apitool/src/main/java/org/jooby/apitool/raml/Raml.java
public RamlPath path(String pattern) {
    RamlPath path = resources.get(pattern);
    if (path == null) {
      path = new RamlPath();
      resources.put(pattern, path);
    }
    return path;
  }
public RamlPath path(String pattern) {
    RamlPath path = resources.get(pattern);
    if (path == null) {
      path = new RamlPath();
      resources.put(pattern, path);
    }
    return path;
  }
Get a path for the given pattern. If the path doesn't exist, a new path will be created.

@param pattern Pattern.
@return Path for the given pattern.