I just removed the latest version of Swagger from the Git repository (3.0.19) using: https://github.com/swagger-api/swagger-ui.git and updated my API to use the new version.
git describe --tags for confirmation and my version now: v3.0.19-6-gaab1403
I am having the problem described here in which my answer is 403 (I see this in the inspector in the browser), and although I have the answer to 403 error, I still get the message TypeError: Failed to fetch.


Here is a snippet of my definition regarding answer 403:
"403": {
"description": "Forbidden",
"headers": {
"Access-Control-Allow-Origin": {
"type": "string"
}
}
},
, , , , CORS, , , , ( 403).
- , ?
: 401 .

400 , :
