Skip to content

Commit

Permalink
chore: fix redocly circular dependencies (#10642)
Browse files Browse the repository at this point in the history
  • Loading branch information
shahednasser authored Dec 17, 2024
1 parent 4479ecd commit 570c855
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions packages/cli/oas/medusa-oas-cli/redocly/redocly-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ decorators:
AdminProductOption:
- AdminProduct
- AdminProductOptionValue
AdminPromotion:
- AdminApplicationMethod
AdminApplicationMethod:
- AdminPromotion
BaseOrderItemDetail:
- BaseOrderLineItem
BaseOrderShippingDetail:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ required:
- id
properties:
promotion:
$ref: ./AdminPromotion.yaml
type: object
target_rules:
type: array
description: The application method's target rules.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ required:
- deleted_at
properties:
application_method:
type: object
$ref: ./AdminApplicationMethod.yaml
rules:
type: array
description: The promotion's rules.
Expand Down
4 changes: 2 additions & 2 deletions www/apps/api-reference/specs/admin/openapi.full.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43653,7 +43653,7 @@ components:
- id
properties:
promotion:
$ref: '#/components/schemas/AdminPromotion'
type: object
target_rules:
type: array
description: The application method's target rules.
Expand Down Expand Up @@ -51946,7 +51946,7 @@ components:
- deleted_at
properties:
application_method:
type: object
$ref: '#/components/schemas/AdminApplicationMethod'
rules:
type: array
description: The promotion's rules.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ required:
- id
properties:
promotion:
$ref: ./AdminPromotion.yaml
type: object
target_rules:
type: array
description: The application method's target rules.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ required:
- deleted_at
properties:
application_method:
type: object
$ref: ./AdminApplicationMethod.yaml
rules:
type: array
description: The promotion's rules.
Expand Down
4 changes: 2 additions & 2 deletions www/apps/api-reference/specs/store/openapi.full.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5927,7 +5927,7 @@ components:
- id
properties:
promotion:
$ref: '#/components/schemas/AdminPromotion'
type: object
target_rules:
type: array
description: The application method's target rules.
Expand Down Expand Up @@ -14220,7 +14220,7 @@ components:
- deleted_at
properties:
application_method:
type: object
$ref: '#/components/schemas/AdminApplicationMethod'
rules:
type: array
description: The promotion's rules.
Expand Down

0 comments on commit 570c855

Please sign in to comment.