Skip to content

Commit

Permalink
fix oas
Browse files Browse the repository at this point in the history
  • Loading branch information
shahednasser committed Dec 26, 2024
1 parent 8462c08 commit d9ab1c5
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 60 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,8 @@ properties:
description: The shipping option rule's operator.
example: eq
value:
oneOf:
- type: string
title: value
description: The rule's value.
example: '"true"'
- type: array
description: The rule's values.
items:
type: string
title: value
description: A rule's value
example: '"true"'
type: string
title: value
shipping_option_id:
type: string
title: shipping_option_id
Expand Down
14 changes: 2 additions & 12 deletions www/apps/api-reference/specs/admin/openapi.full.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53131,18 +53131,8 @@ components:
description: The shipping option rule's operator.
example: eq
value:
oneOf:
- type: string
title: value
description: The rule's value.
example: '"true"'
- type: array
description: The rule's values.
items:
type: string
title: value
description: A rule's value
example: '"true"'
type: string
title: value
shipping_option_id:
type: string
title: shipping_option_id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,8 @@ properties:
description: The shipping option rule's operator.
example: eq
value:
oneOf:
- type: string
title: value
description: The rule's value.
example: '"true"'
- type: array
description: The rule's values.
items:
type: string
title: value
description: A rule's value
example: '"true"'
type: string
title: value
shipping_option_id:
type: string
title: shipping_option_id
Expand Down
14 changes: 2 additions & 12 deletions www/apps/api-reference/specs/store/openapi.full.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15752,18 +15752,8 @@ components:
description: The shipping option rule's operator.
example: eq
value:
oneOf:
- type: string
title: value
description: The rule's value.
example: '"true"'
- type: array
description: The rule's values.
items:
type: string
title: value
description: A rule's value
example: '"true"'
type: string
title: value
shipping_option_id:
type: string
title: shipping_option_id
Expand Down
14 changes: 2 additions & 12 deletions www/utils/generated/oas-output/schemas/AdminShippingOptionRule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,8 @@
* description: The shipping option rule's operator.
* example: eq
* value:
* oneOf:
* - type: string
* title: value
* description: The rule's value.
* example: '"true"'
* - type: array
* description: The rule's values.
* items:
* type: string
* title: value
* description: A rule's value
* example: '"true"'
* type: string
* title: value
* shipping_option_id:
* type: string
* title: shipping_option_id
Expand Down

0 comments on commit d9ab1c5

Please sign in to comment.