swagger-api / swagger-api/validator-badge
Getting "Can't read from file" error on online.swagger.io
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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