first commit
This commit is contained in:
75
app/schemas/__init__.py
Normal file
75
app/schemas/__init__.py
Normal file
@ -0,0 +1,75 @@
|
||||
"""
|
||||
Schemas Module
|
||||
|
||||
Provides Pydantic schemas for request validation and response serialization.
|
||||
|
||||
Usage:
|
||||
from app.schemas.user import UserCreate, UserResponse
|
||||
from app.schemas.client import ClientCreate, ClientResponse
|
||||
from app.schemas.auth import TokenRequest, TokenResponse
|
||||
"""
|
||||
|
||||
from app.schemas.user import (
|
||||
UserBase,
|
||||
UserCreate,
|
||||
UserUpdate,
|
||||
UserLogin,
|
||||
UserResponse,
|
||||
UserListResponse,
|
||||
UserStatistics,
|
||||
PasswordChange
|
||||
)
|
||||
|
||||
from app.schemas.client import (
|
||||
ClientBase,
|
||||
ClientCreate,
|
||||
ClientUpdate,
|
||||
ClientResponse,
|
||||
ClientWithSecret,
|
||||
ClientListResponse
|
||||
)
|
||||
|
||||
from app.schemas.auth import (
|
||||
AuthorizationRequest,
|
||||
AuthorizationResponse,
|
||||
TokenRequest,
|
||||
TokenResponse,
|
||||
UserInfoResponse,
|
||||
LoginRequest,
|
||||
LoginResponse,
|
||||
RegisterRequest,
|
||||
RegisterResponse,
|
||||
OIDCDiscoveryResponse
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
# User schemas
|
||||
'UserBase',
|
||||
'UserCreate',
|
||||
'UserUpdate',
|
||||
'UserLogin',
|
||||
'UserResponse',
|
||||
'UserListResponse',
|
||||
'UserStatistics',
|
||||
'PasswordChange',
|
||||
|
||||
# Client schemas
|
||||
'ClientBase',
|
||||
'ClientCreate',
|
||||
'ClientUpdate',
|
||||
'ClientResponse',
|
||||
'ClientWithSecret',
|
||||
'ClientListResponse',
|
||||
|
||||
# Auth schemas
|
||||
'AuthorizationRequest',
|
||||
'AuthorizationResponse',
|
||||
'TokenRequest',
|
||||
'TokenResponse',
|
||||
'UserInfoResponse',
|
||||
'LoginRequest',
|
||||
'LoginResponse',
|
||||
'RegisterRequest',
|
||||
'RegisterResponse',
|
||||
'OIDCDiscoveryResponse',
|
||||
]
|
||||
Reference in New Issue
Block a user