1 /**
2 * @schema AdminLinkProductOptions
3 * type: object
4 * description: The details of linking product options to a product.
5 * x-schemaName: AdminLinkProductOptions
6 * properties:
7 * add:
8 * type: array
9 * description: The options to add to the product.
10 * items:
11 * oneOf:
12 * - type: string
13 * title: add
14 * description: The details of the product option to add.
15 * - $ref: "#/components/schemas/AdminCreateProductOption"
16 * - $ref: "#/components/schemas/AdminLinkProductOptionWithValues"
17 * remove:
18 * type: array
19 * description: The IDs of the product options to remove from the product.
20 * items:
21 * type: string
22 * title: remove
23 * description: The ID of the product option to remove.
24 * update:
25 * type: array
26 * description: The product's update.
27 * items:
28 * $ref: "#/components/schemas/AdminUpdateProductOptionValues"
29 *
30 */
31