OpenAPI Spec Validator

Validates and lints OpenAPI 3.0/3.1 specifications using Spectral CLI rules and the Swagger Parser library. Detects breaking changes between spec versions and generates migration guides.

agentskillexchange Updated 28 repo stars

File contents

OpenAPI Spec Validator

Validates and lints OpenAPI 3.0/3.1 specifications using Spectral CLI rules and the Swagger Parser library. Detects breaking changes between spec versions and generates migration guides.

Prerequisites

Node.js

Installation

Use the upstream install or setup path that matches your environment:

  • npm install -g @stoplight/spectral-cli
  • yarn global add @stoplight/spectral-cli

Basic usage or getting-started notes:

Documentation

Source

agentskillexchange/skills/tree/main/skills/openapi-spec-validator-agent commit 90749f88f3

Frequently asked questions

npx skillmds@latest add agentskillexchange/openapi-spec-validator