You can view the spec using the following links:
- SwaggerUI: https://admo26.github.io/openapi/swagger-ui/
- ReDoc: https://admo26.github.io/openapi/
- Look full spec:
- Preview spec version for branch
[branch]
: https://admo26.github.io/openapi/preview/[branch]
Thanks to the Rebilly team for sharing their generator-openapi-repo project and making this really easy.
If you find any issues with the spec 😮 feel free to send us a pull request. You can make the changes in your favourite OpenAPI editor or clone this repo to run Swagger Editor locally.
- Install Node JS
- Clone repo and
cd
- Run
npm install
- Run
- Run
npm start
- Checkout console output to see where local server is started. You can use all links (except
preview
) by replacing https://admo26.github.io/xero-accounting/ with url from the message:Server started <url>
- Make changes using your favorite editor or
swagger-editor
(look for URL in console output) - All changes are immediately propagated to your local server, moreover all documentation pages will be automagically refreshed in a browser after each change
TIP: you can open
swagger-editor
, documentation andswagger-ui
in parallel - Once you finish with the changes you can run tests using:
npm test
- Share you changes with the rest of the world by pushing to GitHub 😄