Files
guilan-ace-backend/core/api/schemas.py
Amirhossein Khalili 88b793ed9f
Some checks failed
Backend CI/CD / test (push) Has been cancelled
Backend CI/CD / deploy (push) Has been cancelled
initial commit
2026-05-19 20:53:08 +03:30

14 lines
181 B
Python

from typing import Optional
from ninja import Schema
class MessageSchema(Schema):
message: str
class ErrorSchema(Schema):
error: str
details: Optional[str] = None