OpenAPI specification for catapult-rest.
- Node.js 18 LTS or higher
- Python 3 with the
venvmodule available
- Clone the
symbol-openapirepository.
git clone https://github.com/symbol/symbol-openapi.git
- Install dependencies.
npm install
- If your system Python does not provide
venvby default, install it first.
# Ubuntu / Debian
sudo apt install python3-venvCompile the specification. The generated output is saved under the _build directory.
npm run build
Validate the specification using Redocly CLI, yamllint, and link checks.
Before running linting or tests for the first time, create the local Python virtual
environment used by yamllint:
npm run lint:yaml:setupnpm test
Generate a Postman collection from the built specification.
npm run postman
Before contributing please read this.
Copyright (c) 2018 Jaguar0625, gimre, BloodyRookie, Tech Bureau, Corp Licensed under the GNU Lesser General Public License v3