7u4 / api-definitions

Rebilly's public API definitions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rebilly OpenAPI Definitions

TBD: Add Redocly validation status badge.

Links

Contributing

Read our contribution guide.

Environment setup

If you use VS Code, use the Redocly VS Code extension to edit this repo and get inline lint feedback and previews.

Install

  1. Install Node JS (version 14 or more recent)
  2. Clone repo and run npm ci in the repo root

Usage

Preview

Starts the development server to preview the docs:

  • npm run serve-core - preview Core API docs
  • npm run serve-users - preview Users API docs
  • npm run serve-reports - preview Reports API doc
  • npm run serve-storefront - preview Storefront API docs
  • npm run serve-combined - preview combined API docs

Build

Run npm run build to bundle the definitions into a single file in the dist folder.

Validate

Run npx redocly lint to validate the definitions.

About

Rebilly's public API definitions


Languages

Language:JavaScript 59.4%Language:PHP 39.1%Language:Hack 0.9%Language:HTML 0.6%