diff --git a/about-us.api b/about-us.api new file mode 100644 index 00000000..99683571 --- /dev/null +++ b/about-us.api @@ -0,0 +1,23 @@ +syntax = "v1" + +info ( + title: // TODO: add title + desc: // TODO: add description + author: "" + email: "" +) + +type request { + // TODO: add members here and delete this comment + Name string `path:"name,options=you|me"` // parameters are auto validated +} + +type response { + // TODO: add members here and delete this comment + Message string `json:"message"` +} + +service user-auth { + @handler GreetHandler + get /greet/from/:name(request) returns (response); +} \ No newline at end of file diff --git a/cloud-storage.api b/cloud-storage.api new file mode 100644 index 00000000..99683571 --- /dev/null +++ b/cloud-storage.api @@ -0,0 +1,23 @@ +syntax = "v1" + +info ( + title: // TODO: add title + desc: // TODO: add description + author: "" + email: "" +) + +type request { + // TODO: add members here and delete this comment + Name string `path:"name,options=you|me"` // parameters are auto validated +} + +type response { + // TODO: add members here and delete this comment + Message string `json:"message"` +} + +service user-auth { + @handler GreetHandler + get /greet/from/:name(request) returns (response); +} \ No newline at end of file diff --git a/contact-us.api b/contact-us.api new file mode 100644 index 00000000..99683571 --- /dev/null +++ b/contact-us.api @@ -0,0 +1,23 @@ +syntax = "v1" + +info ( + title: // TODO: add title + desc: // TODO: add description + author: "" + email: "" +) + +type request { + // TODO: add members here and delete this comment + Name string `path:"name,options=you|me"` // parameters are auto validated +} + +type response { + // TODO: add members here and delete this comment + Message string `json:"message"` +} + +service user-auth { + @handler GreetHandler + get /greet/from/:name(request) returns (response); +} \ No newline at end of file diff --git a/data-transfer.api b/data-transfer.api new file mode 100644 index 00000000..12da54af --- /dev/null +++ b/data-transfer.api @@ -0,0 +1,23 @@ +syntax = "v1" + +info ( + title: // 个人文件传输 + desc: // 图片,pdf,设计logo等 + author: "" + email: "" +) + +type request { + // TODO: add members here and delete this comment + Name string `path:"name,options=you|me"` // parameters are auto validated +} + +type response { + // TODO: add members here and delete this comment + Message string `json:"message"` +} + +service user-auth { + @handler GreetHandler + get /greet/from/:name(request) returns (response); +} \ No newline at end of file diff --git a/designs.api b/designs.api new file mode 100644 index 00000000..99683571 --- /dev/null +++ b/designs.api @@ -0,0 +1,23 @@ +syntax = "v1" + +info ( + title: // TODO: add title + desc: // TODO: add description + author: "" + email: "" +) + +type request { + // TODO: add members here and delete this comment + Name string `path:"name,options=you|me"` // parameters are auto validated +} + +type response { + // TODO: add members here and delete this comment + Message string `json:"message"` +} + +service user-auth { + @handler GreetHandler + get /greet/from/:name(request) returns (response); +} \ No newline at end of file diff --git a/faq.api b/faq.api new file mode 100644 index 00000000..99683571 --- /dev/null +++ b/faq.api @@ -0,0 +1,23 @@ +syntax = "v1" + +info ( + title: // TODO: add title + desc: // TODO: add description + author: "" + email: "" +) + +type request { + // TODO: add members here and delete this comment + Name string `path:"name,options=you|me"` // parameters are auto validated +} + +type response { + // TODO: add members here and delete this comment + Message string `json:"message"` +} + +service user-auth { + @handler GreetHandler + get /greet/from/:name(request) returns (response); +} \ No newline at end of file diff --git a/home-user-auth.api b/home-user-auth.api new file mode 100644 index 00000000..bdcb71e8 --- /dev/null +++ b/home-user-auth.api @@ -0,0 +1,26 @@ +syntax = "v1" + +info ( + title: // TODO: add title + desc: // TODO: add description + author: "" + email: "" +) + +type request { + // TODO: add members here and delete this comment + Name string `path:"name,options=you|me"` // parameters are auto validated +} + +type response { + // TODO: add members here and delete this comment + Message string `json:"message"` +} + +service user-auth { + @handler GreetHandler + get /greet/from/:name(request) returns (response); + + @handler GreetHandler2 + get /greet/from2/:name(request) returns (response); +} \ No newline at end of file diff --git a/orders.api b/orders.api new file mode 100644 index 00000000..99683571 --- /dev/null +++ b/orders.api @@ -0,0 +1,23 @@ +syntax = "v1" + +info ( + title: // TODO: add title + desc: // TODO: add description + author: "" + email: "" +) + +type request { + // TODO: add members here and delete this comment + Name string `path:"name,options=you|me"` // parameters are auto validated +} + +type response { + // TODO: add members here and delete this comment + Message string `json:"message"` +} + +service user-auth { + @handler GreetHandler + get /greet/from/:name(request) returns (response); +} \ No newline at end of file diff --git a/product.api b/product.api new file mode 100644 index 00000000..99683571 --- /dev/null +++ b/product.api @@ -0,0 +1,23 @@ +syntax = "v1" + +info ( + title: // TODO: add title + desc: // TODO: add description + author: "" + email: "" +) + +type request { + // TODO: add members here and delete this comment + Name string `path:"name,options=you|me"` // parameters are auto validated +} + +type response { + // TODO: add members here and delete this comment + Message string `json:"message"` +} + +service user-auth { + @handler GreetHandler + get /greet/from/:name(request) returns (response); +} \ No newline at end of file diff --git a/profile.api b/profile.api new file mode 100644 index 00000000..99683571 --- /dev/null +++ b/profile.api @@ -0,0 +1,23 @@ +syntax = "v1" + +info ( + title: // TODO: add title + desc: // TODO: add description + author: "" + email: "" +) + +type request { + // TODO: add members here and delete this comment + Name string `path:"name,options=you|me"` // parameters are auto validated +} + +type response { + // TODO: add members here and delete this comment + Message string `json:"message"` +} + +service user-auth { + @handler GreetHandler + get /greet/from/:name(request) returns (response); +} \ No newline at end of file diff --git a/shopping-cart-confirmation.api b/shopping-cart-confirmation.api new file mode 100644 index 00000000..99683571 --- /dev/null +++ b/shopping-cart-confirmation.api @@ -0,0 +1,23 @@ +syntax = "v1" + +info ( + title: // TODO: add title + desc: // TODO: add description + author: "" + email: "" +) + +type request { + // TODO: add members here and delete this comment + Name string `path:"name,options=you|me"` // parameters are auto validated +} + +type response { + // TODO: add members here and delete this comment + Message string `json:"message"` +} + +service user-auth { + @handler GreetHandler + get /greet/from/:name(request) returns (response); +} \ No newline at end of file