A newer version of the Gradio SDK is available: 6.20.0
VS Code Extension: API Contract Testing and Mock Server Generator
A VS Code extension that reads OpenAPI and Swagger spec files to auto-generate contract test suites and mock API servers. Validates API responses against schema definitions in real-time, catches breaking changes before deployment, generates Postman collections from spec files, and spins up a local mock server on any port for frontend development without a live backend. Supports OpenAPI 3.0 and 3.1 with YAML and JSON formats.
Features
- Core functionality
Installation
From VS Code Marketplace
- Open VS Code
- Press
Ctrl+P(orCmd+Pon Mac) - Type
ext install digitalforge.515f177e - Press Enter
From VSIX file
- Download the
.vsixfile - In VS Code:
Extensions > ··· > Install from VSIX - Select the downloaded file
Usage
Press Ctrl+Shift+P and search for VS Code Extension: API Contract Testing and Mock Server Generator to see all available commands.
Keyboard shortcut: Ctrl+Shift+Alt+A (or Cmd+Shift+Alt+A on Mac)
Settings
| Setting | Default | Description |
|---|---|---|
515f177e.enabled |
true |
Enable/disable the extension |
515f177e.autoRun |
false |
Auto-run on file open |
515f177e.logLevel |
"info" |
Log verbosity |
Requirements
- VS Code 1.74.0 or higher
Contributing
Found a bug? Open an issue.
License
MIT — see LICENSE for details.