Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>OpenAPI Contract SentinelNew to Visual Studio Code? Get it now.
OpenAPI Contract Sentinel

OpenAPI Contract Sentinel

B2B Tool Studio

| (0) | Free
Local-first OpenAPI 3.0/3.1 linter, Endpoint TreeView, Git breaking-change diff, Express/Fastify/Hono/FastAPI route drift auditor, and TypeScript + Zod client generator.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

OpenAPI Contract Sentinel

Local-first OpenAPI 3.0/3.1 contract linter, Sidebar Endpoint TreeView, Git breaking-change diff, Express/Fastify/Hono/FastAPI route drift auditor, and strict TypeScript + Zod client generator for VS Code and Cursor.

100% deterministic local analysis — zero cloud spec uploads, zero LLM API calls.

Features

Free Tier

  • Live OpenAPI 3.0/3.1 Linter (JSON & YAML): flags missing operationId, unresolved $ref pointers, undocumented 4xx/5xx error responses, and missing security definitions.
  • Sidebar Endpoint TreeView: browse all endpoints grouped by tag and jump directly to their definition in the spec.

Pro Tier (Polar.sh License)

  • Breaking-Change Diff Webview: compare working tree OpenAPI specs against HEAD (or any configured git ref) to catch removed paths/operations, newly required params/bodies, and removed 2xx responses.
  • Route-to-Spec Drift Audit: scan Express, Fastify, Hono, and FastAPI route definitions to detect undocumented routes and unimplemented spec operations.
  • TypeScript + Zod Client Codegen: one-click generation of strict Zod schemas and a typed fetch ApiClient.

Commands

  • OpenAPI Sentinel: Lint Specs
  • OpenAPI Sentinel: Activate Pro License
  • OpenAPI Sentinel: Breaking-Change Diff vs Git Ref (Pro)
  • OpenAPI Sentinel: Audit Route-to-Spec Drift (Pro)
  • OpenAPI Sentinel: Generate TypeScript Client + Zod Types (Pro)

Settings

  • openapiSentinel.licenseValidatorUrl: Polar.sh license validation worker URL (default: https://api.b2btoolstudio.com).
  • openapiSentinel.gitBaseRef: Git ref used as baseline for breaking-change diff (default: HEAD).
  • openapiSentinel.lintOnSave: Automatically re-lint on file save.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft