JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 32
  • Score
    100M100P100Q65765F
  • License Apache-2.0

A parser for OpenAPI Arazzo specification documents which describe API workflows (specific sequence of calls to achieve a particular goal in the context of an API definition).

Package Exports

  • arazzo

Readme

Arazzo

Arazzo is a parser for OpenAPI Arazzo specification documents which describe API workflows (specific sequence of calls to achieve a particular goal in the context of an API definition). This library supports both JSON and YAML formats and can be used in both CommonJS (CJS) and ECMAScript Module (ESM) environments.

Features

  • Parse Arazzo specification files from URLs, file paths, or raw content strings.
  • Supports both JSON and YAML formats.
  • Validates the parsed Arazzo specification.
  • Binds operations and workflows.

Installation

You can install the package using npm:

npm install arazzo

Usage

import { ArazzoParser } from 'arazzo';

const parser = new ArazzoParser();

const workflow = await parser.parse('https://example.com/workflow.yaml');