FORGE-X: Upload source (515f177e-vscode-extension.zip)
Browse files- 515f177e/CHANGELOG.md +4 -0
- 515f177e/LICENSE +3 -0
- 515f177e/README.md +46 -0
- 515f177e/out/extension.js +70 -0
- 515f177e/package.json +97 -0
- 515f177e/src/extension.ts +66 -0
- 515f177e/tsconfig.json +17 -0
- README.md +109 -6
515f177e/CHANGELOG.md
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Changelog
|
| 2 |
+
|
| 3 |
+
## [1.0.0]
|
| 4 |
+
- Initial release of VS Code Extension: API Contract Testing and Mock Server Generator
|
515f177e/LICENSE
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2026 Digital Forge
|
515f177e/README.md
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# VS Code Extension: API Contract Testing and Mock Server Generator
|
| 2 |
+
|
| 3 |
+
> 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.
|
| 4 |
+
|
| 5 |
+
## Features
|
| 6 |
+
|
| 7 |
+
- Core functionality
|
| 8 |
+
|
| 9 |
+
## Installation
|
| 10 |
+
|
| 11 |
+
### From VS Code Marketplace
|
| 12 |
+
1. Open VS Code
|
| 13 |
+
2. Press `Ctrl+P` (or `Cmd+P` on Mac)
|
| 14 |
+
3. Type `ext install digitalforge.515f177e`
|
| 15 |
+
4. Press Enter
|
| 16 |
+
|
| 17 |
+
### From VSIX file
|
| 18 |
+
1. Download the `.vsix` file
|
| 19 |
+
2. In VS Code: `Extensions > Β·Β·Β· > Install from VSIX`
|
| 20 |
+
3. Select the downloaded file
|
| 21 |
+
|
| 22 |
+
## Usage
|
| 23 |
+
|
| 24 |
+
Press `Ctrl+Shift+P` and search for `VS Code Extension: API Contract Testing and Mock Server Generator` to see all available commands.
|
| 25 |
+
|
| 26 |
+
**Keyboard shortcut:** `Ctrl+Shift+Alt+A` (or `Cmd+Shift+Alt+A` on Mac)
|
| 27 |
+
|
| 28 |
+
## Settings
|
| 29 |
+
|
| 30 |
+
| Setting | Default | Description |
|
| 31 |
+
|---------|---------|-------------|
|
| 32 |
+
| `515f177e.enabled` | `true` | Enable/disable the extension |
|
| 33 |
+
| `515f177e.autoRun` | `false` | Auto-run on file open |
|
| 34 |
+
| `515f177e.logLevel` | `"info"` | Log verbosity |
|
| 35 |
+
|
| 36 |
+
## Requirements
|
| 37 |
+
|
| 38 |
+
- VS Code 1.74.0 or higher
|
| 39 |
+
|
| 40 |
+
## Contributing
|
| 41 |
+
|
| 42 |
+
Found a bug? [Open an issue](https://github.com/digitalforge/515f177e/issues).
|
| 43 |
+
|
| 44 |
+
## License
|
| 45 |
+
|
| 46 |
+
MIT β see [LICENSE](LICENSE) for details.
|
515f177e/out/extension.js
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"use strict";
|
| 2 |
+
Object.defineProperty(exports, "__esModule", { value: true });
|
| 3 |
+
exports.activate = activate;
|
| 4 |
+
exports.deactivate = deactivate;
|
| 5 |
+
const vscode = require("vscode");
|
| 6 |
+
|
| 7 |
+
/**
|
| 8 |
+
* VS Code Extension: API Contract Testing and Mock Server Generator
|
| 9 |
+
*
|
| 10 |
+
* Features:
|
| 11 |
+
|
| 12 |
+
*/
|
| 13 |
+
|
| 14 |
+
let outputChannel;
|
| 15 |
+
let statusBarItem;
|
| 16 |
+
|
| 17 |
+
function activate(context) {
|
| 18 |
+
outputChannel = vscode.window.createOutputChannel('VS Code Extension: API Contract Testing and Mock Server Generator');
|
| 19 |
+
outputChannel.appendLine(`VS Code Extension: API Contract Testing and Mock Server Generator v1.0.0 activated`);
|
| 20 |
+
|
| 21 |
+
// Status bar
|
| 22 |
+
statusBarItem = vscode.window.createStatusBarItem(vscode.StatusBarAlignment.Right, 100);
|
| 23 |
+
statusBarItem.text = '$(zap) 515f177e';
|
| 24 |
+
statusBarItem.tooltip = 'VS Code Extension: API Contract Testing and Mock Server Generator';
|
| 25 |
+
statusBarItem.command = '515f177e.activate';
|
| 26 |
+
statusBarItem.show();
|
| 27 |
+
context.subscriptions.push(statusBarItem);
|
| 28 |
+
|
| 29 |
+
// Register commands
|
| 30 |
+
let cmd0 = vscode.commands.registerCommand('515f177e.activate', () => {
|
| 31 |
+
vscode.window.showInformationMessage('VS Code Extension: API Contract Testing and Mock Server Generator: VS Code Extension: API Contract Testing and Mock Server Generator: Activate executed');
|
| 32 |
+
outputChannel.appendLine(`[INFO] Command executed: VS Code Extension: API Contract Testing and Mock Server Generator: Activate`);
|
| 33 |
+
});
|
| 34 |
+
let cmd1 = vscode.commands.registerCommand('515f177e.settings', () => {
|
| 35 |
+
vscode.window.showInformationMessage('VS Code Extension: API Contract Testing and Mock Server Generator: VS Code Extension: API Contract Testing and Mock Server Generator: Open Settings executed');
|
| 36 |
+
outputChannel.appendLine(`[INFO] Command executed: VS Code Extension: API Contract Testing and Mock Server Generator: Open Settings`);
|
| 37 |
+
});
|
| 38 |
+
let cmd2 = vscode.commands.registerCommand('515f177e.run', () => {
|
| 39 |
+
vscode.window.showInformationMessage('VS Code Extension: API Contract Testing and Mock Server Generator: VS Code Extension: API Contract Testing and Mock Server Generator: Run executed');
|
| 40 |
+
outputChannel.appendLine(`[INFO] Command executed: VS Code Extension: API Contract Testing and Mock Server Generator: Run`);
|
| 41 |
+
});
|
| 42 |
+
context.subscriptions.push(cmd0);
|
| 43 |
+
context.subscriptions.push(cmd1);
|
| 44 |
+
context.subscriptions.push(cmd2);
|
| 45 |
+
|
| 46 |
+
// Configuration change listener
|
| 47 |
+
context.subscriptions.push(
|
| 48 |
+
vscode.workspace.onDidChangeConfiguration(e => {
|
| 49 |
+
if (e.affectsConfiguration('515f177e')) {
|
| 50 |
+
const config = vscode.workspace.getConfiguration('515f177e');
|
| 51 |
+
const enabled = config.get('enabled', true);
|
| 52 |
+
if (enabled) {
|
| 53 |
+
statusBarItem.show();
|
| 54 |
+
} else {
|
| 55 |
+
statusBarItem.hide();
|
| 56 |
+
}
|
| 57 |
+
outputChannel.appendLine(`[INFO] Configuration updated`);
|
| 58 |
+
}
|
| 59 |
+
})
|
| 60 |
+
);
|
| 61 |
+
|
| 62 |
+
outputChannel.appendLine(`[INFO] VS Code Extension: API Contract Testing and Mock Server Generator ready`);
|
| 63 |
+
vscode.window.showInformationMessage('VS Code Extension: API Contract Testing and Mock Server Generator is now active!');
|
| 64 |
+
}
|
| 65 |
+
|
| 66 |
+
function deactivate() {
|
| 67 |
+
outputChannel?.appendLine('VS Code Extension: API Contract Testing and Mock Server Generator deactivated');
|
| 68 |
+
outputChannel?.dispose();
|
| 69 |
+
statusBarItem?.dispose();
|
| 70 |
+
}
|
515f177e/package.json
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "515f177e",
|
| 3 |
+
"displayName": "VS Code Extension: API Contract Testing and Mock Server Generator",
|
| 4 |
+
"description": "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.",
|
| 5 |
+
"version": "1.0.0",
|
| 6 |
+
"engines": {
|
| 7 |
+
"vscode": "^1.74.0"
|
| 8 |
+
},
|
| 9 |
+
"categories": [
|
| 10 |
+
"Other"
|
| 11 |
+
],
|
| 12 |
+
"publisher": "digitalforge",
|
| 13 |
+
"activationEvents": [
|
| 14 |
+
"onStartupFinished"
|
| 15 |
+
],
|
| 16 |
+
"main": "./out/extension",
|
| 17 |
+
"contributes": {
|
| 18 |
+
"commands": [
|
| 19 |
+
{
|
| 20 |
+
"command": "515f177e.activate",
|
| 21 |
+
"title": "VS Code Extension: API Contract Testing and Mock Server Generator: Activate"
|
| 22 |
+
},
|
| 23 |
+
{
|
| 24 |
+
"command": "515f177e.settings",
|
| 25 |
+
"title": "VS Code Extension: API Contract Testing and Mock Server Generator: Open Settings"
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"command": "515f177e.run",
|
| 29 |
+
"title": "VS Code Extension: API Contract Testing and Mock Server Generator: Run"
|
| 30 |
+
}
|
| 31 |
+
],
|
| 32 |
+
"configuration": {
|
| 33 |
+
"title": "VS Code Extension: API Contract Testing and Mock Server Generator",
|
| 34 |
+
"properties": {
|
| 35 |
+
"515f177e.enabled": {
|
| 36 |
+
"type": "boolean",
|
| 37 |
+
"default": true,
|
| 38 |
+
"description": "Enable/disable VS Code Extension: API Contract Testing and Mock Server Generator"
|
| 39 |
+
},
|
| 40 |
+
"515f177e.autoRun": {
|
| 41 |
+
"type": "boolean",
|
| 42 |
+
"default": false,
|
| 43 |
+
"description": "Automatically run on file open"
|
| 44 |
+
},
|
| 45 |
+
"515f177e.logLevel": {
|
| 46 |
+
"type": "string",
|
| 47 |
+
"enum": [
|
| 48 |
+
"error",
|
| 49 |
+
"warn",
|
| 50 |
+
"info",
|
| 51 |
+
"debug"
|
| 52 |
+
],
|
| 53 |
+
"default": "info",
|
| 54 |
+
"description": "Log verbosity level"
|
| 55 |
+
}
|
| 56 |
+
}
|
| 57 |
+
},
|
| 58 |
+
"keybindings": [
|
| 59 |
+
{
|
| 60 |
+
"command": "515f177e.activate",
|
| 61 |
+
"key": "ctrl+shift+alt+a",
|
| 62 |
+
"mac": "cmd+shift+alt+a",
|
| 63 |
+
"when": "editorTextFocus"
|
| 64 |
+
}
|
| 65 |
+
]
|
| 66 |
+
},
|
| 67 |
+
"scripts": {
|
| 68 |
+
"vscode:prepublish": "npm run compile",
|
| 69 |
+
"compile": "tsc -p ./",
|
| 70 |
+
"watch": "tsc -watch -p ./",
|
| 71 |
+
"pretest": "npm run compile",
|
| 72 |
+
"lint": "eslint src --ext ts"
|
| 73 |
+
},
|
| 74 |
+
"devDependencies": {
|
| 75 |
+
"@types/vscode": "^1.74.0",
|
| 76 |
+
"@types/node": "^18.x",
|
| 77 |
+
"typescript": "^5.0.0"
|
| 78 |
+
},
|
| 79 |
+
"keywords": [
|
| 80 |
+
"devops_infra",
|
| 81 |
+
"productivity",
|
| 82 |
+
"automation"
|
| 83 |
+
],
|
| 84 |
+
"license": "MIT",
|
| 85 |
+
"icon": "icon.png",
|
| 86 |
+
"galleryBanner": {
|
| 87 |
+
"color": "#1e1e2e",
|
| 88 |
+
"theme": "dark"
|
| 89 |
+
},
|
| 90 |
+
"repository": {
|
| 91 |
+
"type": "git",
|
| 92 |
+
"url": "https://github.com/digitalforge/515f177e"
|
| 93 |
+
},
|
| 94 |
+
"bugs": {
|
| 95 |
+
"url": "https://github.com/digitalforge/515f177e/issues"
|
| 96 |
+
}
|
| 97 |
+
}
|
515f177e/src/extension.ts
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import * as vscode from 'vscode';
|
| 2 |
+
|
| 3 |
+
/**
|
| 4 |
+
* VS Code Extension: API Contract Testing and Mock Server Generator
|
| 5 |
+
*
|
| 6 |
+
* Features:
|
| 7 |
+
|
| 8 |
+
*/
|
| 9 |
+
|
| 10 |
+
let outputChannel: vscode.OutputChannel;
|
| 11 |
+
let statusBarItem: vscode.StatusBarItem;
|
| 12 |
+
|
| 13 |
+
export function activate(context: vscode.ExtensionContext) {
|
| 14 |
+
outputChannel = vscode.window.createOutputChannel('VS Code Extension: API Contract Testing and Mock Server Generator');
|
| 15 |
+
outputChannel.appendLine(`VS Code Extension: API Contract Testing and Mock Server Generator v1.0.0 activated`);
|
| 16 |
+
|
| 17 |
+
// Status bar
|
| 18 |
+
statusBarItem = vscode.window.createStatusBarItem(vscode.StatusBarAlignment.Right, 100);
|
| 19 |
+
statusBarItem.text = '$(zap) 515f177e';
|
| 20 |
+
statusBarItem.tooltip = 'VS Code Extension: API Contract Testing and Mock Server Generator';
|
| 21 |
+
statusBarItem.command = '515f177e.activate';
|
| 22 |
+
statusBarItem.show();
|
| 23 |
+
context.subscriptions.push(statusBarItem);
|
| 24 |
+
|
| 25 |
+
// Register commands
|
| 26 |
+
let cmd0 = vscode.commands.registerCommand('515f177e.activate', () => {
|
| 27 |
+
vscode.window.showInformationMessage('VS Code Extension: API Contract Testing and Mock Server Generator: VS Code Extension: API Contract Testing and Mock Server Generator: Activate executed');
|
| 28 |
+
outputChannel.appendLine(`[INFO] Command executed: VS Code Extension: API Contract Testing and Mock Server Generator: Activate`);
|
| 29 |
+
});
|
| 30 |
+
let cmd1 = vscode.commands.registerCommand('515f177e.settings', () => {
|
| 31 |
+
vscode.window.showInformationMessage('VS Code Extension: API Contract Testing and Mock Server Generator: VS Code Extension: API Contract Testing and Mock Server Generator: Open Settings executed');
|
| 32 |
+
outputChannel.appendLine(`[INFO] Command executed: VS Code Extension: API Contract Testing and Mock Server Generator: Open Settings`);
|
| 33 |
+
});
|
| 34 |
+
let cmd2 = vscode.commands.registerCommand('515f177e.run', () => {
|
| 35 |
+
vscode.window.showInformationMessage('VS Code Extension: API Contract Testing and Mock Server Generator: VS Code Extension: API Contract Testing and Mock Server Generator: Run executed');
|
| 36 |
+
outputChannel.appendLine(`[INFO] Command executed: VS Code Extension: API Contract Testing and Mock Server Generator: Run`);
|
| 37 |
+
});
|
| 38 |
+
context.subscriptions.push(cmd0);
|
| 39 |
+
context.subscriptions.push(cmd1);
|
| 40 |
+
context.subscriptions.push(cmd2);
|
| 41 |
+
|
| 42 |
+
// Configuration change listener
|
| 43 |
+
context.subscriptions.push(
|
| 44 |
+
vscode.workspace.onDidChangeConfiguration(e => {
|
| 45 |
+
if (e.affectsConfiguration('515f177e')) {
|
| 46 |
+
const config = vscode.workspace.getConfiguration('515f177e');
|
| 47 |
+
const enabled = config.get<boolean>('enabled', true);
|
| 48 |
+
if (enabled) {
|
| 49 |
+
statusBarItem.show();
|
| 50 |
+
} else {
|
| 51 |
+
statusBarItem.hide();
|
| 52 |
+
}
|
| 53 |
+
outputChannel.appendLine(`[INFO] Configuration updated`);
|
| 54 |
+
}
|
| 55 |
+
})
|
| 56 |
+
);
|
| 57 |
+
|
| 58 |
+
outputChannel.appendLine(`[INFO] VS Code Extension: API Contract Testing and Mock Server Generator ready`);
|
| 59 |
+
vscode.window.showInformationMessage('VS Code Extension: API Contract Testing and Mock Server Generator is now active!');
|
| 60 |
+
}
|
| 61 |
+
|
| 62 |
+
export function deactivate() {
|
| 63 |
+
outputChannel?.appendLine('VS Code Extension: API Contract Testing and Mock Server Generator deactivated');
|
| 64 |
+
outputChannel?.dispose();
|
| 65 |
+
statusBarItem?.dispose();
|
| 66 |
+
}
|
515f177e/tsconfig.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"compilerOptions": {
|
| 3 |
+
"module": "Node16",
|
| 4 |
+
"target": "ES2022",
|
| 5 |
+
"outDir": "out",
|
| 6 |
+
"lib": [
|
| 7 |
+
"ES2022"
|
| 8 |
+
],
|
| 9 |
+
"sourceMap": true,
|
| 10 |
+
"rootDir": "src",
|
| 11 |
+
"strict": true
|
| 12 |
+
},
|
| 13 |
+
"exclude": [
|
| 14 |
+
"node_modules",
|
| 15 |
+
".vscode-test"
|
| 16 |
+
]
|
| 17 |
+
}
|
README.md
CHANGED
|
@@ -1,13 +1,116 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
colorFrom: gray
|
| 5 |
-
colorTo:
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version:
|
| 8 |
-
python_version: '3.13'
|
| 9 |
app_file: app.py
|
| 10 |
pinned: false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
---
|
|
|
|
| 12 |
|
| 13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: "VS Code Extension: API Contract Testing and Mock Server Generator"
|
| 3 |
+
emoji: βοΈ
|
| 4 |
colorFrom: gray
|
| 5 |
+
colorTo: green
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: 4.44.0
|
|
|
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
+
license: mit
|
| 11 |
+
tags:
|
| 12 |
+
- devops
|
| 13 |
+
- infrastructure
|
| 14 |
+
- automation
|
| 15 |
+
- monitoring
|
| 16 |
+
- cloud
|
| 17 |
+
- cost
|
| 18 |
+
- finops
|
| 19 |
+
- dashboard
|
| 20 |
+
- savings
|
| 21 |
+
- multi
|
| 22 |
---
|
| 23 |
+
# VS Code Extension: API Contract Testing and Mock Server Generator
|
| 24 |
|
| 25 |
+
A VS Code extension that reads OpenAPI and Swagger spec files to auto-generate contract test suites and mock API servers.
|
| 26 |
+
|
| 27 |
+
This VS Code extension gives you everything you need for API Contract Testing and Mock Server Generator β ready to use in minutes, no coding required.
|
| 28 |
+
|
| 29 |
+
Built for: api contract testing and mock server generator, visual studio code, vs code extension, api contract, code editor, developer tool.
|
| 30 |
+
|
| 31 |
+
## What's Included
|
| 32 |
+
|
| 33 |
+
- Integrated API Contract Testing and Mock Server Generator inside VS Code
|
| 34 |
+
- Keyboard shortcuts for rapid workflow
|
| 35 |
+
- Status bar indicators and real-time feedback
|
| 36 |
+
- Works with all VS Code themes and configurations
|
| 37 |
+
- Compatible with Remote SSH, WSL, and Codespaces
|
| 38 |
+
- API integration for custom workflows
|
| 39 |
+
|
| 40 |
+
## Who Is This For
|
| 41 |
+
|
| 42 |
+
- DevOps engineers who need API Contract Testing and Mock Server Generator
|
| 43 |
+
- SREs who need API Contract Testing and Mock Server Generator
|
| 44 |
+
- Platform teams who need API Contract Testing and Mock Server Generator
|
| 45 |
+
- Cloud architects who need API Contract Testing and Mock Server Generator
|
| 46 |
+
|
| 47 |
+
## How It Works
|
| 48 |
+
|
| 49 |
+
A VS Code extension that reads OpenAPI and Swagger spec files to auto-generate contract test suites and mock API servers.
|
| 50 |
+
This VS Code extension gives you everything you need for API Contract Testing and Mock Server Generator β ready to use in minutes, no coding required.
|
| 51 |
+
Built for: api contract testing and mock server generator, visual studio code, vs code extension, api contract, code editor, developer tool.
|
| 52 |
+
## What's Included
|
| 53 |
+
|
| 54 |
+
- Integrated API Contract Testing and Mock Server Generator inside VS Code
|
| 55 |
+
- Keyboard shortcuts for rapid workflow
|
| 56 |
+
- Status bar indicators and real-time feedback
|
| 57 |
+
- Works with all VS Code themes and configurations
|
| 58 |
+
- Compatible with Remote SSH, WSL, and Codespaces
|
| 59 |
+
- API integration for custom workflows
|
| 60 |
+
|
| 61 |
+
## Who Is This For
|
| 62 |
+
|
| 63 |
+
- DevOps engineers who need API Contract Testing and Mock Server Generator
|
| 64 |
+
- SREs who need API Contract Testing and Mock Server Generator
|
| 65 |
+
- Platform teams who need API Contract Testing and Mock Server Generator
|
| 66 |
+
- Cloud architects who need API Contract Testing and Mock Server Generator
|
| 67 |
+
|
| 68 |
+
## How It Works
|
| 69 |
+
|
| 70 |
+
A VS Code extension that reads OpenAPI and Swagger spec files to auto-generate contract test suites and mock API servers.
|
| 71 |
+
|
| 72 |
+
## Frequently Asked Questions
|
| 73 |
+
|
| 74 |
+
**Q: What does this VS Code extension do?**
|
| 75 |
+
A: It provides a complete API Contract Testing and Mock Server Generator solution that automates and streamlines your workflow, saving time and reducing manual effort.
|
| 76 |
+
|
| 77 |
+
**Q: How do I install this VS Code extension?**
|
| 78 |
+
A: Download the file, follow the included setup guide, and you'll be running in under 5 minutes. No coding required.
|
| 79 |
+
|
| 80 |
+
**Q: Is this a one-time purchase?**
|
| 81 |
+
A: Yes β pay once, own forever. All future updates included at no extra cost.
|
| 82 |
+
|
| 83 |
+
## What You Get
|
| 84 |
+
|
| 85 |
+
- Instant digital download
|
| 86 |
+
- Complete VS Code extension with documentation
|
| 87 |
+
- Free updates for life
|
| 88 |
+
- Setup guide included
|
| 89 |
+
|
| 90 |
+
*Keywords: api contract testing and mock server generator, visual studio code, vs code extension, api contract, code editor, developer tool, mock server, testing and, vscode plugin, api*
|
| 91 |
+
|
| 92 |
+
## π Usage
|
| 93 |
+
|
| 94 |
+
1. Click **Use in Spaces** above to run the demo directly
|
| 95 |
+
2. Or clone the repository and run locally:
|
| 96 |
+
|
| 97 |
+
```bash
|
| 98 |
+
git clone https://huggingface.co/spaces/WealthFromAI/vs-code-extension-api-contract-testing-and-mock-server-generator-515f
|
| 99 |
+
cd vs-code-extension-api-contract-testing-and-mock-server-generator-515f
|
| 100 |
+
pip install -r requirements.txt
|
| 101 |
+
python app.py
|
| 102 |
+
```
|
| 103 |
+
|
| 104 |
+
## π° Pricing
|
| 105 |
+
|
| 106 |
+
- **Demo**: Free on Hugging Face Spaces
|
| 107 |
+
- **Full Source Code**: $19.99
|
| 108 |
+
- Available on [Gumroad](https://gumroad.com) and [Whop](https://whop.com)
|
| 109 |
+
|
| 110 |
+
## π License
|
| 111 |
+
|
| 112 |
+
MIT License β free to use, modify, and distribute.
|
| 113 |
+
|
| 114 |
+
---
|
| 115 |
+
|
| 116 |
+
*Built with [FORGE-X](https://github.com/WealthFromAI) β automated digital product engine*
|