{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"paths":{"/file_parse":{"post":{"summary":"Parse Pdf","operationId":"parse_pdf_file_parse_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_parse_pdf_file_parse_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"Body_parse_pdf_file_parse_post":{"properties":{"files":{"items":{"type":"string","format":"binary"},"type":"array","title":"Files"},"output_dir":{"type":"string","title":"Output Dir","default":"./output"},"lang_list":{"items":{"type":"string"},"type":"array","title":"Lang List","default":["ch"]},"backend":{"type":"string","title":"Backend","default":"pipeline"},"parse_method":{"type":"string","title":"Parse Method","default":"auto"},"formula_enable":{"type":"boolean","title":"Formula Enable","default":true},"table_enable":{"type":"boolean","title":"Table Enable","default":true},"server_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Server Url"},"return_md":{"type":"boolean","title":"Return Md","default":true},"return_middle_json":{"type":"boolean","title":"Return Middle Json","default":false},"return_model_output":{"type":"boolean","title":"Return Model Output","default":false},"return_content_list":{"type":"boolean","title":"Return Content List","default":false},"return_images":{"type":"boolean","title":"Return Images","default":false},"response_format_zip":{"type":"boolean","title":"Response Format Zip","default":false},"start_page_id":{"type":"integer","title":"Start Page Id","default":0},"end_page_id":{"type":"integer","title":"End Page Id","default":99999}},"type":"object","required":["files"],"title":"Body_parse_pdf_file_parse_post"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}