Skip to content

Commit 107196e

Browse files
committed
Remove unnecessary response_model parameter
1 parent da49af7 commit 107196e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

http_app/routes/ping.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ class PingResponse(BaseModel):
1616
)
1717

1818

19-
@router.get("/ping", response_model=PingResponse)
19+
@router.get("/ping")
2020
async def ping() -> PingResponse:
2121
return PingResponse(ping="pong!")

0 commit comments

Comments
 (0)