prism icon indicating copy to clipboard operation
prism copied to clipboard

Add User-Agent when fetching remote OpenAPI document

Open jakowenko opened this issue 3 years ago • 0 comments

Context

We have a hosted version of our spec file that is handled by AWS API Gateway and AWS WAF. The default behavior for the web application firewall is to block any requests that do not contain a user agent.

Current Behavior

AWS WAF blocks the prism request because no user agent header is present.

Expected Behavior

A user agent header is passed when fetching the remote OpenAPI document.

jakowenko avatar Jul 18 '22 15:07 jakowenko