Explorar el Código

Add api version (#3536)

kesonan hace 1 año
padre
commit
c4ef9ceb68
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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"`
 }