Hi,

I am trying to use swagger ui, setup like this:

  const ui = SwaggerUIBundle({
    // fixme: Change to absolute URL when all is setup
    url: "/static/swagger.json",
    dom_id: '#swagger-ui',
    presets: [
      SwaggerUIBundle.presets.apis,
      Array.isArray(SwaggerUIStandalonePreset) ? SwaggerUIStandalonePreset 
: SwaggerUIStandalonePreset.default
    ],
    plugins: [
      SwaggerUIBundle.plugins.DownloadUrl
    ],
    layout: "StandaloneLayout"
  })

However, my computer is required to use a company proxy for outgoing http 
requests. So when swagger attempts to validate, I get an error like this in 
my browser console:

Request URL: https://online.swagger.io/validator?url=/static/swagger.json
Request method: GET
Status code: 407 Proxy Authentication Required

Is there anyway to configure swagger to authenticate with a proxy when 
making this call to the validator?

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to