code: public List<Snippet> getSnippets(Object projectIdOrPath, int page, int perPage) throws GitLabApiException {
          Response response = get(Response.Status.OK, getPageQueryParams(page, perPage), "projects", getProjectIdOrPath(projectIdOrPath), "snippets");
          return (response.readEntity(new GenericType<List<Snippet>>() {}));
      }
docs: Get a list of project snippets.
  
  <pre><code>GET /projects/:id/snippets</code></pre>
  
  @param projectIdOrPath projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance, required
  @param page the page to get
  @param perPage the number of snippets per page
  @return a list of project's snippets for the specified range
  @throws GitLabApiException if any exception occurs