Repository navigation
Plainwire 0.8.0: import OpenAPI from a URL
- Import OpenAPI / Swagger from a URL: the Import OpenAPI / Swagger… command now asks From a file… or From a URL…, and
plainwire importacceptshttps://…URLs (redirects followed, proxy and--insecurehonoured). A relative server URL such as/api/v3now resolves against the definition's URL, as the OpenAPI specification says (Swagger 2.0: a missinghostis the host serving the definition), instead of falling back tohttp://localhost. Checked with the public Petstore 3 definition: imported from its URL, two requests then passed against the live server without settingbaseUrl.
Also new today: 0.7.0 (server-sent events, # @timeout, default User-Agent) and 0.6.0 (# @import of another .http file); see CHANGELOG.md.
Install: download plainwire-0.8.0.vsix and run Extensions: Install from VSIX… (VS Code, Cursor, Windsurf, VSCodium). CLI: plainwire.mjs (Node 18+) or npm install -g the tarball. Action: uses: janwan2003/vscode-api-client@v0.8.0.