code: private String normalizeActionPath(Resource parent, String uri) {
          String relativeUri = extractRelativeUrl(uri, parent.getUri());
          if (!relativeUri.startsWith("/")) {
              relativeUri = "/" + relativeUri;
          }
          return relativeUri;
      }
docs: A method normalizing "action" path. In RAML action path must always starts with a "/".
  
  @param parent the parent resource
  @param uri    the path to normalize
  @return the normalized path