Closed growdai1y closed 6 years ago
This issue resolves itself after up to an hour. GitHub API has hourly requests limit. The CLI tool uses this API to determine latest version of the console's sources. If you run the build command too many times in short time period this will happen.
Wait a bit until quota reset
Cli tool accepts -s
argument that should point to a location of the API console sources. Download zip file from GitHub and point to this file. This will skip whole GitHub resolving stuff.
Remember to use --source-is-zip
(-z
) for ZIP files.
api-console build -s ../api-console.zip api.raml
You can also set the GITHUB_TOKEN
environment variable. You can generate GitHub personal token in your settings. This will increase rate limit to about 1000.
GITHUB_TOKEN="something" api-console build api.raml
I have a very simple raml file as below. And I'm trying to use "api-console" with the explanations in this github repo. However, the problem occurred which I really don't know how to resolve.
The error messages are as below.
Can anyone give me some clues to fix this problem?
Thanks in advance.