Validates and lints OpenAPI 3.x specifications using swagger-parser, spectral, and openapi-typescript. Generates type-safe client SDKs and detects breaking API changes via oasdiff.
Scanned 6/8/2026
Install via CLI
openskills install agentskillexchange/skills---
name: "OpenAPI Specification Validator"
slug: "openapi-specification-validator-agent"
description: "Validates and lints OpenAPI 3.x specifications using swagger-parser, spectral, and openapi-typescript. Generates type-safe client SDKs and detects breaking API changes via oasdiff."
github_stars: 1194
verification: "security_reviewed"
source: "https://github.com/APIDevTools/swagger-parser"
author: "API Dev Tools"
category: "Library & API Reference"
framework: "Cursor"
tool_ecosystem:
github_repo: "APIDevTools/swagger-parser"
github_stars: 1194
npm_package: "@apidevtools/swagger-parser"
npm_weekly_downloads: 4282678
---
# OpenAPI Specification Validator
Validates and lints OpenAPI 3.x specifications using swagger-parser, spectral, and openapi-typescript. Generates type-safe client SDKs and detects breaking API changes via oasdiff.
## Prerequisites
swagger-parser, @stoplight/spectral, openapi-typescript, oasdiff, Redocly CLI
## Installation
Use the upstream install or setup path that matches your environment:
- npm install @apidevtools/swagger-parser
- git clone https://github.com/APIDevTools/swagger-parser.git
- npm install
- npm test
Requirements and caveats from upstream:
- **[Tested](https://github.com/APIDevTools/swagger-parser/actions)** in Node.js and all modern web browsers on Mac, Windows, and Linux
- When using Swagger Parser in Node.js apps, you'll probably want to use **CommonJS** syntax:
- const SwaggerParser = require("@apidevtools/swagger-parser");
Basic usage or getting-started notes:
- ## Example
- Or use async/await or [Promise](http://javascriptplayground.com/blog/2015/02/promises/) syntax instead. The following example is the same as above:
- bash
- Source: https://github.com/APIDevTools/swagger-parser
- Extracted from upstream docs: https://raw.githubusercontent.com/APIDevTools/swagger-parser/HEAD/README.md
## Documentation
- https://apidevtools.com/swagger-parser/docs/
## Source
- [Agent Skill Exchange](https://agentskillexchange.com/skills/openapi-specification-validator-agent/)
No comments yet. Be the first to comment!