api icon indicating copy to clipboard operation
api copied to clipboard

Surface more debugging information when spec URLs fail on retrieval

Open erunion opened this issue 2 years ago • 0 comments

https://github.com/readmeio/api/blob/main/packages/api/src/fetcher.ts#L49-L54

When you pass in a URL that 404s we just tell you that the URL was not found which isn't supper helpful if the URL you're supplying is doing redirects behind the scenes (like in the case of accessing a /openapi URL for a private project on ReadMe redirects to /404).

erunion avatar Jun 22 '22 19:06 erunion