Spectral

by SmartBear

Flexible JSON and YAML linter with rulesets for OpenAPI and AsyncAPI

Visit stoplight.io FreeOpen source

Spectral is a JSON/YAML linter with built-in rulesets for OpenAPI, AsyncAPI, and Arazzo documents. Teams use custom rulesets to enforce API style guides automatically in editors and CI pipelines.

Key features

  • Built-in OpenAPI and AsyncAPI rulesets
  • Custom rulesets for API style guides
  • CLI and JavaScript API
  • Runs in CI to block non-compliant specs

Try it on DevTools Daily

Similar tools

  • Insomnia

    Open-source API client for REST, GraphQL, gRPC, and WebSockets

    by KongFreemiumOpen sourcemacOS, Windows, Linux
  • Mockoon

    Create local mock REST APIs in seconds, with a desktop app and CLI

    FreeOpen sourcemacOS, Windows, Linux +1
  • OpenAPI Generator

    Generate API clients, server stubs, and docs from OpenAPI specs

    FreeOpen sourceCLI, macOS, Windows +1
  • Redocly

    OpenAPI documentation, linting, and developer portal tooling

    by RedoclyFreemiumOpen sourceWeb, CLI
  • Scalar

    Interactive API reference docs and API client for OpenAPI

    by ScalarFreemiumOpen sourceWeb, Self-hosted
  • Swagger UI

    Interactive, browser-based documentation generated from OpenAPI definitions

    by SmartBearFreeOpen sourceWeb, Self-hosted

Built a tool like Spectral? Submit it for review