openvpn-endpoint-server/server/app/schemas/__init__.py

26 lines
798 B
Python

"""Pydantic schemas for API request/response validation."""
from .user import (
UserCreate, UserUpdate, UserResponse, UserLogin,
Token, TokenPayload
)
from .tenant import TenantCreate, TenantUpdate, TenantResponse
from .gateway import GatewayCreate, GatewayUpdate, GatewayResponse, GatewayStatus
from .endpoint import (
EndpointCreate, EndpointUpdate, EndpointResponse,
ApplicationTemplateResponse
)
__all__ = [
# User
"UserCreate", "UserUpdate", "UserResponse", "UserLogin",
"Token", "TokenPayload",
# Tenant
"TenantCreate", "TenantUpdate", "TenantResponse",
# Gateway
"GatewayCreate", "GatewayUpdate", "GatewayResponse", "GatewayStatus",
# Endpoint
"EndpointCreate", "EndpointUpdate", "EndpointResponse",
"ApplicationTemplateResponse",
]