Skip to content

Commit a2e12ba

Browse files
committed
WIP: /info
1 parent 00dd327 commit a2e12ba

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

app/routers/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
"""app.routers"""
2+
from .info import API_INFO
23
from .v1 import V1
34
from .v2 import V2

app/routers/info.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
"""app.routers.info"""
2+
from fastapi import APIRouter
3+
from pydantic import BaseModel
4+
5+
API_INFO = APIRouter()
6+
7+
8+
class Info(BaseModel):
9+
pass

0 commit comments

Comments
 (0)