From bc8899d62927bb41e2209454a2cfc42dd049409f Mon Sep 17 00:00:00 2001 From: "ct-sdks[bot]" <153784748+ct-sdks[bot]@users.noreply.github.com> Date: Fri, 11 Oct 2024 09:50:11 +0000 Subject: [PATCH] Updated API from documentation release --- api-specs/api/examples/Customer/MyCustomerSignIn.json | 4 ++++ api-specs/api/resources/in-store.raml | 2 +- api-specs/api/resources/me.raml | 2 +- api-specs/api/types/customer/MyCustomerSignin.raml | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 api-specs/api/examples/Customer/MyCustomerSignIn.json diff --git a/api-specs/api/examples/Customer/MyCustomerSignIn.json b/api-specs/api/examples/Customer/MyCustomerSignIn.json new file mode 100644 index 000000000..aa8d97736 --- /dev/null +++ b/api-specs/api/examples/Customer/MyCustomerSignIn.json @@ -0,0 +1,4 @@ +{ + "email": "johndoe@example.com", + "password": "secret123" +} diff --git a/api-specs/api/resources/in-store.raml b/api-specs/api/resources/in-store.raml index 1ff1581e4..eb70c34a5 100644 --- a/api-specs/api/resources/in-store.raml +++ b/api-specs/api/resources/in-store.raml @@ -1739,7 +1739,7 @@ uriParameters: body: application/json: type: MyCustomerSignin - example: !include ../examples/Customer/CustomerSignIn.json + example: !include ../examples/Customer/MyCustomerSignIn.json responses: 200: body: diff --git a/api-specs/api/resources/me.raml b/api-specs/api/resources/me.raml index c8052b9e2..59f013195 100644 --- a/api-specs/api/resources/me.raml +++ b/api-specs/api/resources/me.raml @@ -178,7 +178,7 @@ delete: body: application/json: type: MyCustomerSignin - example: !include ../examples/Customer/CustomerSignIn.json + example: !include ../examples/Customer/MyCustomerSignIn.json responses: 200: body: diff --git a/api-specs/api/types/customer/MyCustomerSignin.raml b/api-specs/api/types/customer/MyCustomerSignin.raml index c4a354c3f..efe51b477 100644 --- a/api-specs/api/types/customer/MyCustomerSignin.raml +++ b/api-specs/api/types/customer/MyCustomerSignin.raml @@ -1,7 +1,7 @@ #%RAML 1.0 DataType (package): Customer displayName: MyCustomerSignin -example: !include ../../examples/Customer/CustomerSignIn.json +example: !include ../../examples/Customer/MyCustomerSignIn.json type: object properties: email: