VERSION 1.7.0

v1.7.0

OpenAPI output format for Code to Docs, smart file detection, and bug fixes.

Invalid Date
·10 changes

OpenAPI output format for Code to Docs

  • Code to Docs mode now supports two output formats: Markdown (default) and OpenAPI 3.0 YAML
  • A Format dropdown appears in the context bar when Code to Docs mode is selected
  • OpenAPI output generates a valid spec with paths, schemas, parameters, and response definitions inferred from your code
  • Download button adapts: produces a .yaml file with the correct MIME type when OpenAPI format is selected

Smart file detection

  • Attaching a code file automatically switches to Code to Docs mode
  • When the attached code contains API patterns (Express routes, Flask/FastAPI decorators, Spring annotations, ASP.NET attributes, Azure Functions, etc.), an inline prompt appears inside the input area asking which output format you want
  • Selecting a format immediately starts processing — no extra click needed
  • Detection covers JavaScript, TypeScript, Python, Go, Java, C#, Ruby, Rust, Swift, Kotlin, PHP, and more

Bug fixes

  • Frontmatter preservation: Rewrite, Simplify, Expand, and Translate modes no longer strip YAML frontmatter (content between --- delimiters) from documents
  • Heading casing in Rewrite mode: Rewrite mode now correctly applies title-case rules only to H1 titles and sentence-case rules only to H2+ headings, matching the behavior already present in Review mode