Install SpekAi
SpekAi is available on the VS Code Marketplace. Install it in one click:
- Open VS Code
- Go to the Extensions panel (
Ctrl+Shift+X/Cmd+Shift+X) - Search for SpekAi
- Click Install
Or install from the command line:
code --install-extension BitsPlus.spekaiOpen an API Spec
SpekAi works with OpenAPI/Swagger specifications in both JSON and YAML formats. You can load a spec two ways:
- URL: Paste the URL of a hosted spec (e.g.
https://petstore.swagger.io/v2/swagger.json) - Local file: Open a
.jsonor.yamlfile from your workspace
Validate Your First Endpoint
- Open the Command Palette (
Ctrl+Shift+P/Cmd+Shift+P) - Run Open SpekAi Tester
- Enter your spec URL or pick a local file
- Select an endpoint from the generated list
- Fill in parameters or click Generate Request Data to auto-fill realistic values
- Hit Send Request and review the response
That's it. You're validating your API one endpoint at a time, without leaving your editor.