Skip to content

Commit

Permalink
add: endpoint description
Browse files Browse the repository at this point in the history
  • Loading branch information
benya7 committed Sep 20, 2024
1 parent 5f07cf7 commit 6878967
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion runner/app/routes/sentiment_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ def handle_pipeline_error(e: Exception) -> JSONResponse:
@router.post(
"/sentiment-analysis",
response_model=SentimentAnalysisResponse,
responses=RESPONSES
responses=RESPONSES,
description="Analyze the sentiment of the provided text."
)
@router.post(
"/sentiment-analysis/",
Expand Down

0 comments on commit 6878967

Please sign in to comment.