VS Code Settings
SpekAi is configured through standard VS Code settings. Open Settings (Ctrl+, / Cmd+,) and search for SpekAi.
Fallback Mode
If you prefer manual validation, enable fallback mode:
{
"spekai.enableFallback": true
}This lets you make raw HTTP requests without AI assistance, which is handy for quick manual checks.
mTLS Client Certificates
SpekAi supports mutual TLS (mTLS) for APIs that require client certificate authentication. In the tester UI:
- Toggle the Client Certificate section
- Provide your certificate file (
.pemor.crt) - Provide your private key file
- Optionally add a CA certificate
All certificate paths are resolved relative to your workspace.
JSON vs YAML
SpekAi auto-detects the format of your spec file. Both OpenAPI 3.x (JSON and YAML) and Swagger 2.0 specs are supported. If loading from a URL, the Content-Type header is used for detection, with a fallback to file extension parsing.