Skip to content

Gadam8/partnerapi-docs

 
 

Repository files navigation

JUST EAT Partner API Specification

Build Status

Documentation: https://justeat.github.io/partnerapi-docs/

Preview (when using a branch) [branch]: https://justeat.github.io/partnerapi-docs/preview/[branch]

Warning: Above link is updated only after Travis CI finishes deployment

Working on specification

Install

  1. Install Node JS
  2. Clone repo and cd
    • Run npm install

Usage

  1. Run npm start
  2. Checkout console output to see where local server is started. You can use all links (except preview) by replacing https://justeat.github.io/partnerapi-docs/ with url from the message: Server started <url>
  3. Make changes using your favorite editor
  4. All changes are immediately propagated to your local server, moreover all documentation pages will be automagically refreshed in a browser after each change
  5. Once you finish with the changes you can run tests using: npm test
  6. Share you changes with the rest of the world by pushing to GitHub 😄

The Framework

This documentation is built using

  • ReDoc as the site template (see web/index.html for the version being used
  • Yeoman Generator for OpenAPI which allows us to store the OpenAPI spec as lots of separate YAML files and then combine and genreate OpenAPI json. This makes the spec easier to edit, as it's not one huge file!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 57.7%
  • JavaScript 42.3%