Skip to content

Plainwire 0.8.0: import OpenAPI from a URL

Choose a tag to compare

@janwan2003 janwan2003 released this 20 Nov 15:20
· 22 commits to main since this release
  • Import OpenAPI / Swagger from a URL: the Import OpenAPI / Swagger… command now asks From a file… or From a URL…, and plainwire import accepts https://… URLs (redirects followed, proxy and --insecure honoured). A relative server URL such as /api/v3 now resolves against the definition's URL, as the OpenAPI specification says (Swagger 2.0: a missing host is the host serving the definition), instead of falling back to http://localhost. Checked with the public Petstore 3 definition: imported from its URL, two requests then passed against the live server without setting baseUrl.

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.