mud_server.api.models
Pydantic models for API requests and responses.
This module defines all the data models used for API communication between the FastAPI backend and clients (admin WebUI, API consumers). Pydantic models provide: - Automatic request/response validation - Type checking and conversion - Clear API documentation via FastAPI’s automatic OpenAPI schema generation - Serialization/deserialization to/from JSON
Models are organized into two categories: 1. Request models: Data sent FROM the client TO the server 2. Response models: Data sent FROM the server TO the client