Skip to content

Commit

Permalink
feat: add index endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
winstxnhdw committed Sep 16, 2023
1 parent c9cd7f9 commit a102487
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions server/api/v1/index.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
from typing import Literal

from server.api.v1 import v1


@v1.get('/', response_model=Literal['Welcome to v1 of the API!'])
async def index():
"""
Summary
-------
the `/` route
"""
return 'Welcome to v1 of the API!'

0 comments on commit a102487

Please sign in to comment.