AGENT SKILL
flutter-data-model-generation
Use when generating Flutter/Dart data models from Swagger/OpenAPI JSON (数据模型生成、RootModel、独立 Model、$ref、definitions、响应参数、响应示例、json_to_dart). $ref in definitions → independent XxxModel once (no duplicate across APIs); strip $ref last segment to Chinese+Latin letters only then use as Model name (keep Vo/DTO); Chinese in ref key → translate to English for Model class/file names; then response model from params (priority) or example; sibling imports for refs; never suffix ref models as RootModel; RootModel name/file must not contain detail.
- License 许可
- MIT
- 最近更新
- 2026-10-03
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- flutter-data-model-generation
- description
- Use when generating Flutter/Dart data models from Swagger/OpenAPI JSON (数据模型生成、RootModel、独立 Model、$ref、definitions、响应参数、响应示例、json_to_dart). $ref in definitions → independent XxxModel once (no duplicate across APIs); strip $ref last segment to Chinese+Latin letters only then use as Model name (keep Vo/DTO); Chinese in ref key → translate to English for Model class/file names; then response model from params (priority) or example; sibling imports for refs; never suffix ref models as RootModel; RootModel name/file must not contain detail.
03 SKILL.md 正文
@../../../common/flutter/flutter-data-model-generation.md
04 同仓库更多 Skills
yt-dlp-video-download
暂无简介
★ 0
yl-flutter-upgrade-3-41
暂无简介
★ 0
widget-effect-showcase
暂无简介
★ 0
uipageviewcontroller-container
暂无简介
★ 0
traditional-to-simplified
暂无简介
★ 0
timestamp-shadow-property
暂无简介
★ 0