Browse Source

content fix to continue (#3633)

Co-authored-by: xiaohan <fuck@qq.com>
tags/0.6.4
fuckqqcom 1 year ago
parent
commit
9b7b133cbc
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      api/core/tools/utils/parser.py

+ 1
- 1
api/core/tools/utils/parser.py View File

@@ -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…
Cancel
Save