- Enable Travis for your repository (note: you already have
.travis.ymlfile) - Create GitHub access token; select
public_repoonSelect scopessection. - Use the token value as a value for Travis environment variable with the name
GH_TOKEN - Make a test commit to trigger CI:
git commit --allow-empty -m "Test Travis CI" && git push - Wait until Travis build is finished. You can check progress by clicking on the
Build Statusbadge at the top - [Optional] You can setup custom domain (just create
web/CNAMEfile) - [Optional] If your API is public consider adding it into APIs.guru directory using this form.
- Delete this section ❌
- Reference Documentation (ReDoc)
- SwaggerUI
- OpenAPI Raw Files: JSON YAML
Warning: All above links are updated only after Travis CI finishes deployment
- Install Node JS
- Clone repo and run
npm installin the repo root
Starts the development server.
Bundles the spec and prepares web_deploy folder with static assets.
Validates the spec.
Deploys docs to GitHub Pages. You don't need to run it manually if you have Travis CI configured.