feat(api): add Pydantic schemas
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
from .auth import LoginRequest, TokenResponse
|
||||
from .category import (
|
||||
JokeCrowdCreate,
|
||||
JokeCrowdResponse,
|
||||
JokeTypeCreate,
|
||||
JokeTypeResponse,
|
||||
)
|
||||
from .joke import (
|
||||
JokeCreate,
|
||||
JokeResponse,
|
||||
JokeUpdate,
|
||||
PaginatedJokeResponse,
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
"JokeBase",
|
||||
"JokeCreate",
|
||||
"JokeUpdate",
|
||||
"JokeResponse",
|
||||
"PaginatedJokeResponse",
|
||||
"JokeTypeBase",
|
||||
"JokeTypeCreate",
|
||||
"JokeTypeResponse",
|
||||
"JokeCrowdBase",
|
||||
"JokeCrowdCreate",
|
||||
"JokeCrowdResponse",
|
||||
"LoginRequest",
|
||||
"TokenResponse",
|
||||
]
|
||||
Reference in New Issue
Block a user