Skip to content

Commit

Permalink
chore: 文档更新
Browse files Browse the repository at this point in the history
  • Loading branch information
fjc0k committed Mar 12, 2022
1 parent fd95815 commit 467c7a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export default defineConfig(

YApi 本身是不支持定义引用类型的,本功能仅是在 YApi 自有功能上做了以下约定支持定义引用类型:

- 必须在 **标题** 栏定义(YApi 低版本没有 **标题** 栏,也可以在 **备注** 栏定义);
- 必须在 **标题** 栏定义(YApi 低版本没有 **标题** 栏,也可以在 **备注** 栏定义<Badge>3.33.0+</Badge>);
- 必须以 **&** 开头;
- 引用路径规范和文件路径规范一致:`.` 表示当前级,`..` 表示上一级,`/` 在首位时表示根级,在中间时表示分割;
- 引用数组的条目时必须加上 `/0`
Expand Down

0 comments on commit 467c7a7

Please sign in to comment.