github enzonotario/vitepress-openapi v0.2.17

36 minutes ago

   🚀 Features

  • Generate plain Markdown and llms.txt from OpenAPI specs  -  by @enzonotario in #364 (8f58b)
    • generateLlmsFiles (in buildEnd) writes a .md next to each operation, tag, overview and whole-spec page, plus llms.txt and llms-full.txt. llmsDevServer serves the same files in dev.
    • Each operation includes servers, authorization, parameters, request body and responses (schemas and examples), and code samples.
    • maxSize (default 5 MB) writes a summary instead of oversized whole-spec, tag and llms-full.txt files.
    • Node API (operationToMarkdown, generateMarkdownFiles, generateMarkdown) and CLI: npx vitepress-openapi generate openapi.json --out docs/api, to write static, searchable .md pages into your docs.
    • See Markdown & llms.txt. Live demo: /llms.txt, getAllArtists.md.
    View changes on GitHub

Don't miss a new vitepress-openapi release

NewReleases is sending notifications on new releases.