GitHub integration not working for me
- 9 years ago
Hi David! There are two aspects for GitHub push.
1) Pushing your definitions upon save. That's what it sounds like you have configured, and based on the filename, SwaggerHub will push either a JSON or YAML version directly to github. Check your repository to verify that.
2) Linking a GitHub repo to your account. This is slightly different from above, it essentially hot-links the GitHub logo from your APIs page to the repo. To configure that, click the "+" => Edit API Info => GitHub Link. Then it will hot-link directly to your repo.
I will get this added to the FAQ as well, please reply with any other questions!
- 9 years ago
Hi, we have addressed the push issue. If your output file has the suffix ".json", it'll be saved as JSON. Otherwise, YAML.
Please let us know how it goes!