code: public Stream<MergeRequest> getMergeRequestsStream(Object projectIdOrPath, MergeRequestState state) throws GitLabApiException {
          return (getMergeRequests(projectIdOrPath, state, getDefaultPerPage()).stream());
      }
docs: Get all merge requests with a specific state for the specified project as a Stream.
  
  <pre><code>GitLab Endpoint: GET /projects/:id/merge_requests?state=:state</code></pre>
  
  @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance
  @param state the state parameter can be used to get only merge requests with a given state (opened, closed, or merged) or all of them (all).
  @return a Stream with all the merge requests for the specified project
  @throws GitLabApiException if any exception occurs