Skip to content

Unable to validate my url #151

@JFCote

Description

@JFCote

When I try my spec url: https://cs-dev.business.stingray.com/assets/swagger.yaml

I get this error:

Failed to load API definition.
Errors
Hide
 
Fetch errorFailed to fetch https://cs-dev.business.stingray.com/assets/swagger.yaml
Fetch errorPossible cross-origin (CORS) issue? The URL origin (https://cs-dev.business.stingray.com) does not match the page (http://validator.swagger.io). Check the server returns the correct 'Access-Control-Allow-*' headers.

Is there something wrong in the response header that I need to change? Is that a bug on your side? The documentation of validator-badge specifically specify this: Since the validator uses a browserless back-end to fetch the contents and schema, it's not subject to the terrible world of CORS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions