Browse Source

Add api version (#3536)

kesonan 1 year ago
parent
commit
c4ef9ceb68
1 changed files with 2 additions and 0 deletions
  1. 2 0
      tools/goctl/api/new/api.tpl

+ 2 - 0
tools/goctl/api/new/api.tpl

@@ -1,3 +1,5 @@
+syntax = "v1"
+
 type Request {
   Name string `path:"name,options=you|me"`
 }