From 21f512374984387234e580472772de314fba8a63 Mon Sep 17 00:00:00 2001 From: eson <9673575+githubcontent@user.noreply.gitee.com> Date: Wed, 31 May 2023 11:38:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A8=A1=E5=9D=97=E7=BB=93=E6=9E=84=E8=AE=BE?= =?UTF-8?q?=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- about-us.api | 23 +++++++++++++++++++++++ cloud-storage.api | 23 +++++++++++++++++++++++ contact-us.api | 23 +++++++++++++++++++++++ data-transfer.api | 23 +++++++++++++++++++++++ designs.api | 23 +++++++++++++++++++++++ faq.api | 23 +++++++++++++++++++++++ home-user-auth.api | 26 ++++++++++++++++++++++++++ orders.api | 23 +++++++++++++++++++++++ product.api | 23 +++++++++++++++++++++++ profile.api | 23 +++++++++++++++++++++++ shopping-cart-confirmation.api | 23 +++++++++++++++++++++++ 11 files changed, 256 insertions(+) create mode 100644 about-us.api create mode 100644 cloud-storage.api create mode 100644 contact-us.api create mode 100644 data-transfer.api create mode 100644 designs.api create mode 100644 faq.api create mode 100644 home-user-auth.api create mode 100644 orders.api create mode 100644 product.api create mode 100644 profile.api create mode 100644 shopping-cart-confirmation.api 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