swagger-api / swagger-api/validator-badge

Getting "Can't read from file" error on online.swagger.io

Open
#87 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
227
Forks
81
Avg merge
2h 3m
Merged PRs (30d)
1

Description

{
    "schemaValidationMessages": [{
        "level": "error",
        "message": "Can't read from file https://api.npr.org/documentation/beryllium/swagger.json"
    }]
}

https://api.npr.org/documentation/beryllium/swagger.json is accessible to the public, and I know that the validator used to work at least as of March 1st, when I last did some maintenance on our Swagger instance. (I opened a ticket in our system to follow up with some more maintenance for a future date, which is how I know when it was last confirmed working.) So sometime between then & today, the validator stopped working.

Any ideas?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported error for https://api.npr.org/documentation/beryllium/swagger.json through online.swagger.io and compare it with the URL's public accessibility. Trace where the validator reads remote files; done means identifying the cause of the rejection and restoring successful validation for this document.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.