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.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Openapi Specification Validator Agent?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/agentskillexchange-openapi-specification-validator-agent)
---
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/)