Parcourir la source

Add api version (#3536)

kesonan il y a 1 an
Parent
commit
c4ef9ceb68
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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"`
 }