feat: 优化swagger
This commit is contained in:
parent
635805f041
commit
a70ac00bd9
9
main.py
9
main.py
|
@ -191,19 +191,18 @@ patent_patterns = [
|
|||
"起草人": "张三、李四",
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
},
|
||||
},
|
||||
400: {
|
||||
'description': '错误示例',
|
||||
"description": "错误示例",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"example": {
|
||||
"detail": "Invalid file type. Please choose 'standard' or 'patent'.",
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
)
|
||||
async def extract_info(
|
||||
|
|
Loading…
Reference in New Issue