# Generated by @typespec-fastapi/emitter
# Do not edit this file manually — regenerate with: tsp compile .
# This file contains Pydantic v2 models and enums generated from TypeSpec.
from __future__ import annotations

from typing import Literal
from typing import Any
from pydantic import BaseModel, Field

class ValidationError(BaseModel):
    code: Literal["validation_error"]
    details: dict[str, Any]

class NotFoundError(BaseModel):
    code: Literal["not_found"]
    message: str = Field(..., description="The resource was not found")

class Error(BaseModel):
    code: str
    message: str

class PaginationParams(BaseModel):
    limit: int | None = Field(None)
    offset: int | None = Field(None)
