@converter.post('/convert', tags=['converter'])
def convert_document(convert: ConverterSchema):
    result = Converter.convert(convert.source_format, convert.target_format, convert.content)
    return dict(status='converted', result_format=convert.target_format, result=result)
@converter.post('/convert', tags=['converter'])
def convert_document(convert: ConverterSchema):
    result = Converter.convert(convert.source_format, convert.target_format, convert.content)
    return dict(status='converted', result_format=convert.target_format, result=result)