litestar-dto-openapi

Installation
SKILL.md

Litestar DTO and OpenAPI

Use this skill for DTO selection, msgspec-first schemas, request/response typing, and OpenAPI shape.

Code Style Rules

  • Prefer msgspec DTOs in Litestar apps unless the project is already Pydantic-led.
  • Keep persistence models separate from API DTOs.
  • Use camelCase wire names while Python stays snake_case.
  • Exclude server-owned fields from write DTOs.

Quick Reference

Installs
6
GitHub Stars
8
First Seen
May 18, 2026
litestar-dto-openapi — litestar-org/litestar-skills