Files
privateGPT/private_gpt/server/utils/openapi_models.py
Javier Martinez f3d24b5413 fix: update fern & resolve fern preview (#2288)
* chore: update fern cli

* docs: add examples

* fix: update doc
2026-07-06 11:20:05 +02:00

12 lines
314 B
Python

from typing import Any
from pydantic import BaseModel, Field
class OpenAPIValidationErrorResponse(BaseModel):
"""Standard 422 validation error response."""
detail: str | list[dict[str, Any]] = Field(
description="Error detail — a string message or a list of validation error objects.",
)