data-mapping - Transform API responses into typed internal models
Defines TypeScript mapper patterns for converting API responses into validated internal types.
Tags
Updated: 2026-11-27Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Map API fields to models
- Validate required fields
- Convert snake_case to camelCase
- Convert core types with map()
- Normalize optional values
- Convert enum values
- Map nested objects
- Map enum arrays
Inputs
- API specifications
- API response objects
- TypeScript interfaces
- Generated model definitions
Outputs
- Typed internal model objects
- Validation errors
Requirements
- TypeScript or JavaScript project
- Mapping utility support
- Generated model definitions
