naming: using '-' instead of '_' in webapi name

This commit is contained in:
Mike Liao 2024-10-26 07:06:34 -07:00
parent 6b286a4433
commit 698670cde6

View File

@ -17,8 +17,8 @@ token_manager = TokenManager()
# Web API
# Fetch document by ID
@router.get(
"/retrieve_document_info/{document_id}",
operation_id="retrieve_document_info",
"/retrieve-document-info/{document_id}",
operation_id="retrieve-document-info",
summary="Fetch a document by its ID",
description="Retrieve a specific document by its document ID and return file name and download URL",
response_description="The document details including file name and download URL",