瀏覽代碼

content fix to continue (#3633)

Co-authored-by: xiaohan <fuck@qq.com>
tags/0.6.4
fuckqqcom 1 年之前
父節點
當前提交
9b7b133cbc
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      api/core/tools/utils/parser.py

+ 1
- 1
api/core/tools/utils/parser.py 查看文件

@@ -81,7 +81,7 @@ class ApiBasedToolSchemaParser:
for content_type, content in request_body['content'].items():
# if there is a reference, get the reference and overwrite the content
if 'schema' not in content:
content
continue

if '$ref' in content['schema']:
# get the reference

Loading…
取消
儲存