← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 1971.o.6.c · 生成模型:GPT-6

故事映射动作与关系

理解等级:中级

逐条用角色、能力、收益或前提写故事,再把故事中的行为分配给模型。单模型通常提供动作,跨模型还要说明关系。管理员复用已有动作,只需扩大允许操作的对象范围。[[API模型面向消费者]]

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    参考来源

    - 位置:《Designing APIs with Swagger and OpenAPI》第09章《Designing a web application》(来源项目 book-source:extracted/Designing APIs with Swagger and OpenAPI/_epub-src/OEBPS/Text/ch09.htm,阅读块 182) - 结论依据:原文按故事涉及一个模型还是多个模型来提取动作和关系。 - 原始内容:Previously, we created three models: User, Job, and Dog. They all already have a set of attributes. To find out about their functionality and relationships, we should walk through the user stories and see which of the models they affect. If they