From 2624062aa549410bf2311e1e8ee3247edffb1fb8 Mon Sep 17 00:00:00 2001 From: GraceKiarie Date: Thu, 8 Jun 2023 12:59:38 +0300 Subject: [PATCH] update documentation --- spec/definitions/Customer.yaml | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/spec/definitions/Customer.yaml b/spec/definitions/Customer.yaml index aa93ced..91fadeb 100644 --- a/spec/definitions/Customer.yaml +++ b/spec/definitions/Customer.yaml @@ -1,27 +1,19 @@ type: "object" properties: - name: - type: "string" - example: "John Doe" - description: "Name (first_name + last_name) - only for get endpoint" first_name: type: "string" - example: "" + example: "John" last_name: type: "string" - example: "" + example: "Doe" email: type: "string" format: "email" example: "john@example.com" - billing_address: - type: "string" - description: "Billing address (address1 + address2) - only for get endpoint" - example: "118 Main St" address1: type: "string" description: "Billing address 1" - example: "" + example: "118 Main St" address2: type: "string" description: "Billing address 2"