Skip to content

Releases: leapord/Materin-view

0.2.1

Choose a tag to compare

@leapord leapord released this 30 Aug 09:50

YAML robustness: multi-document YAML streams and flow-style YAML specs now parse correctly; clearer combined JSON+YAML error messages when a source matches neither format.

0.2.0

Choose a tag to compare

@leapord leapord released this 29 Aug 11:46

Community review compliance: obsidianmd lint fixes (settings headings, CSS classes, createEl helpers, command naming), js-yaml → yaml, minAppVersion 1.7.2, local eslint setup for review parity.

0.1.0

Choose a tag to compare

@leapord leapord released this 25 Aug 02:03

首个发布版本。

功能

  • 多文档源:Vault 内 spec 文件(.json/.yaml/.yml)与远程 URL,每个源独立可折叠文档菜单
  • Markdown 内嵌 spec 提取(围栏 json/yaml 代码块)
  • 工作区扫描:按内容识别 OpenAPI 文件,一键添加
  • knife4j 风格文档:tag 树、请求方法徽标、参数表、入参/出参 Schema($ref 解析,支持 OpenAPI 3.x 与 Swagger 2.0)
  • 调试面板:按文档记忆的前缀 URL、spec 生成的参数表单、请求头、JSON 请求体,Obsidian 内直发请求(requestUrl 免 CORS)
  • 参数变量:{{key}} 在 URL/Header/请求体中替换,全局 + 本域两级作用域(本域优先)
  • 旧版单文档配置自动迁移

安装

下载下方 main.js / manifest.json / styles.css,放入 <vault>/.obsidian/plugins/materin-view/ 并启用。