Просмотр исходного кода

content fix to continue (#3633)

Co-authored-by: xiaohan <fuck@qq.com>
tags/0.6.4
fuckqqcom 1 год назад
Родитель
Сommit
9b7b133cbc
Аккаунт пользователя с таким Email не найден
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

Загрузка…
Отмена
Сохранить