feat: rework to use next and host from single dockerfile
This commit is contained in:
14
mta_sign_server/config/schemas.py
Normal file
14
mta_sign_server/config/schemas.py
Normal file
@@ -0,0 +1,14 @@
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
||||
class Station(BaseModel):
|
||||
id: str
|
||||
name: str
|
||||
|
||||
|
||||
class StationsResponse(BaseModel):
|
||||
stations: list[Station]
|
||||
|
||||
|
||||
class LinesResponse(BaseModel):
|
||||
lines: list[str]
|
||||
Reference in New Issue
Block a user