Skip to content

Manage Responses when using Auth #7218

Open
@ezequielhernancasas

Description

@ezequielhernancasas

Hi!, im new in swagger-ui,

Could someone tell me, how i can manage the error responses.
I use BearerAuth and If i enter a bad token response with:

Failed to fetch.
Possible Reasons:
CORS
Network Failure
URL scheme must be "http" or "https" for CORS request.

in the Call I have that responses:

"responses": {
"200": {
"$ref": "#/components/responses/Success"
},
"default": {
"$ref": "#/components/responses/Default"
}
}

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions