API EditorA VS Code extension for creating and editing API and event contracts visually. Browse models, update fields and generate Markdown documentation without editing the contract by hand. Everything runs locally — no network requests, AI, telemetry or usage fees. Supported formats
InstallationSearch for API Editor by
You can also download a Quick start
To start from scratch, run API Editor: New contract. Visual editing
Changes appear automatically in the editor buffer. Save as usual when editing; starting a Markdown export or a schema conversion also saves any pending changes. The designer also refreshes when the source changes, keeping your current view where possible. If the file temporarily cannot be read, it keeps the last readable version and shows a status message. Edits preserve the contract's format and version. WSDL, XSD and Avro edits retain unrelated content and formatting.
Markdown documentationChoose Export to md in an operation's properties to document that operation, or in contract settings to document the whole contract. Exports work with all supported formats and include descriptions, operations where applicable, model tables and supported validation rules. OpenAPI exports also include response codes and parameter examples stored in the contract. The suggested save location is beside the source contract. Generated documents include source metadata and are intended to be regenerated rather than edited by hand. Convert a schema to another formatChoose Convert schema in contract settings. The source file is left as it is — the result opens in a new editor, ready to save. Pending edits to the source are saved first, so the conversion reads the contract you can see.
A conversion carries the data model across, including descriptions, enums and supported constraints, and asks which object the result is built around. Some features have to be adapted: inheritance is flattened in Avro, HTTP endpoints are dropped when converting to XSD or Avro, and a WSDL operation becomes a POST endpoint, and the other way round an OpenAPI operation becomes a WSDL operation with its request, response and fault messages. A source with no operations of its own becomes a contract with exactly one: a GET, or a SOAP operation, answering with the object you picked. To convert between OpenAPI versions or apply description markers, use the separate OpenAPI Converter extension. API Editor edits the version already present in the file. Links |

