-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
oas: [6/n] improve oas schemas (#9122)
Improve oas schemas [6/n]
- Loading branch information
1 parent
a7684b4
commit 2c8ae60
Showing
8 changed files
with
166 additions
and
195 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
www/utils/generated/oas-output/schemas/AdminNotificationResponse.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 19 additions & 18 deletions
37
www/utils/generated/oas-output/schemas/AdminOrderAddress.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,77 +1,78 @@ | ||
/** | ||
* @schema AdminOrderAddress | ||
* type: object | ||
* description: The order's billing address. | ||
* description: An order address. | ||
* x-schemaName: AdminOrderAddress | ||
* required: | ||
* - id | ||
* - metadata | ||
* - created_at | ||
* - updated_at | ||
* properties: | ||
* country: | ||
* $ref: "#/components/schemas/AdminRegionCountry" | ||
* id: | ||
* type: string | ||
* title: id | ||
* description: The billing address's ID. | ||
* description: The address's ID. | ||
* customer_id: | ||
* type: string | ||
* title: customer_id | ||
* description: The billing address's customer id. | ||
* description: The ID of the customer this address belongs to. | ||
* first_name: | ||
* type: string | ||
* title: first_name | ||
* description: The billing address's first name. | ||
* description: The address's first name. | ||
* last_name: | ||
* type: string | ||
* title: last_name | ||
* description: The billing address's last name. | ||
* description: The address's last name. | ||
* phone: | ||
* type: string | ||
* title: phone | ||
* description: The billing address's phone. | ||
* description: The address's phone. | ||
* company: | ||
* type: string | ||
* title: company | ||
* description: The billing address's company. | ||
* description: The address's company. | ||
* address_1: | ||
* type: string | ||
* title: address_1 | ||
* description: The billing address's address 1. | ||
* description: The address's first line. | ||
* address_2: | ||
* type: string | ||
* title: address_2 | ||
* description: The billing address's address 2. | ||
* description: The address's second line. | ||
* city: | ||
* type: string | ||
* title: city | ||
* description: The billing address's city. | ||
* description: The address's city. | ||
* country_code: | ||
* type: string | ||
* title: country_code | ||
* description: The billing address's country code. | ||
* description: The address's country code. | ||
* example: us | ||
* country: | ||
* $ref: "#/components/schemas/AdminRegionCountry" | ||
* province: | ||
* type: string | ||
* title: province | ||
* description: The billing address's province. | ||
* description: The address's province. | ||
* postal_code: | ||
* type: string | ||
* title: postal_code | ||
* description: The billing address's postal code. | ||
* description: The address's postal code. | ||
* metadata: | ||
* type: object | ||
* description: The billing address's metadata. | ||
* description: The address's metadata, can hold custom key-value pairs. | ||
* created_at: | ||
* type: string | ||
* format: date-time | ||
* title: created_at | ||
* description: The billing address's created at. | ||
* description: The date the address was created. | ||
* updated_at: | ||
* type: string | ||
* format: date-time | ||
* title: updated_at | ||
* description: The billing address's updated at. | ||
* description: The date the address was updated. | ||
* | ||
*/ | ||
|
4 changes: 2 additions & 2 deletions
4
www/utils/generated/oas-output/schemas/AdminOrderChangesResponse.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
www/utils/generated/oas-output/schemas/AdminOrderEditPreviewResponse.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
www/utils/generated/oas-output/schemas/AdminOrderEditResponse.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.