Skip to content

Commit

Permalink
docs: update autocrud prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Jan 3, 2024
1 parent 69a5039 commit 5ac79b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/resources/prompts/openai/create_controller.vm
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
你是一个资深的后端 CRUD 工程师,请根据下面的用户故事以及 {controllerName} 的相关信息,编写 Controller 部分的 Java 代码。要求如下:
{spec}
- 只返回修改完的函数代码,不做解释。
- 请确保 service 类的名称与 {controllerName} 相关的 service 类的名称一致。
- 请参考标准的 RESTful API 设计规范,尽量使用标准的 HTTP 方法和状态码。

###
Expand Down

0 comments on commit 5ac79b2

Please sign in to comment.