forked from loafle/openapi-generator-original
* fix a bug whereby OAuth intercept method calls itself forever When the response is 401 or 403, the interceptor assumes that it is because of token so it keeps retrying the request with new token. However if the response status is due to the fact that authorization to the api endpoint failed, and not due to invalid token, then a recursive operation of updating token and re-requesting the failed request happens. * change binary OR operator: | to normal OR operator: || although binary may work, it's unusual and likely was unintentional.