Skip to content

Commit

Permalink
adjusted swagger ui
Browse files Browse the repository at this point in the history
  • Loading branch information
AnnemarieWittig committed Oct 10, 2023
1 parent c5a7687 commit 4df2b2f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions AutomationService/AutomationServiceBackend/app/endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,12 @@ async def handle_api_call(req: Request, file_to_identify: Optional[UploadFile] =
"application/json": {
"example": {
"text": "I am Marilyn Monroe.",
"FIRST_NAME": "Marilyn",
"LAST_NAME": "Monroe"
"results": [
{
"FIRST_NAME": "Marilyn",
"LAST_NAME": "Monroe"
}
]
}
}
},
Expand Down

0 comments on commit 4df2b2f

Please sign in to comment.