code: public boolean isExpectedResponseStatusCode(int responseStatusCode, int[] additionalAllowedStatusCodes) {
          boolean result;
  
          if (expectedStatusCodes == null) {
              result = (responseStatusCode < 400);
          } else {
              result = contains(expectedStatusCodes, responseStatusCode)
                      || contains(additionalAllowedStatusCodes, responseStatusCode);
          }
  
          return result;
      }
docs: Get whether or not the provided response status code is one of the expected status codes for
  this Swagger method.
  
  @param responseStatusCode the status code that was returned in the HTTP response
  @param additionalAllowedStatusCodes an additional set of allowed status codes that will be
  merged with the existing set of allowed status codes for
  this query
  @return whether or not the provided response status code is one of the expected status codes
  for this Swagger method