oas: [15/n] improve oas schemas (#9216)

Improve OAS schemas [15/n]

Note: validation error will be fixed once #9218 is merged
This commit is contained in:
Shahed Nasser authored and GitHub committed 2024-09-26 13:03:41 +00:00
1 parent d352ea8122
commit 97b72f4662
22 files changed
+250 -633

No files matched your search

@@ -1,74 +0,0 @@
/**
* @schema BaseCartAddress
* type: object
* description: The parent's billing address.
* x-schemaName: BaseCartAddress
* required:
* - id
* - created_at
* - updated_at
* properties:
* id:
* type: string
* title: id
* description: The billing address's ID.
* customer_id:
* type: string
* title: customer_id
* description: The billing address's customer id.
* first_name:
* type: string
* title: first_name
* description: The billing address's first name.
* last_name:
* type: string
* title: last_name
* description: The billing address's last name.
* phone:
* type: string
* title: phone
* description: The billing address's phone.
* company:
* type: string
* title: company
* description: The billing address's company.
* address_1:
* type: string
* title: address_1
* description: The billing address's address 1.
* address_2:
* type: string
* title: address_2
* description: The billing address's address 2.
* city:
* type: string
* title: city
* description: The billing address's city.
* country_code:
* type: string
* title: country_code
* description: The billing address's country code.
* province:
* type: string
* title: province
* description: The billing address's province.
* postal_code:
* type: string
* title: postal_code
* description: The billing address's postal code.
* metadata:
* type: object
* description: The billing address's metadata.
* created_at:
* type: string
* format: date-time
* title: created_at
* description: The billing address's created at.
* updated_at:
* type: string
* format: date-time
* title: updated_at
* description: The billing address's updated at.
*
*/