Marshevskyy/api-definitions

Rebilly's public API definitions

★ 0Forks 0JavaScriptGitHub ↗Compare

README

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
  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 npm test to validate the definitions.

Organization

Each API definition has its own root document in the root of the openapi folder.

Contributors

ashkarpetinadamaltmanviceromagslavcodevXaosSintezjustneroVladimirRebillycolinbirdsubenson2e3siamdeviceninjasimonmikerebillymclassicptrofimovvova07wmdmgvlexeromagalstiandestebangWeetbixn-fasanodara123vykhrystiukrensftwcesarlevelakozhevnikov-rebillynoon-dawgedmandiesamontedortort

Issues