remove duplicate key from oas (#2953)
**What** - remove duplicate oas key **Why** - oas generation fails when duplicate keys are present
This commit is contained in:
5
.changeset/real-ways-jog.md
Normal file
5
.changeset/real-ways-jog.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@medusajs/medusa": patch
|
||||
---
|
||||
|
||||
OAS update
|
||||
@@ -36,7 +36,7 @@ export class ProductCategory extends SoftDeletableEntity {
|
||||
// mpath: String
|
||||
|
||||
@TreeParent()
|
||||
@JoinColumn({ name: 'parent_category_id' })
|
||||
@JoinColumn({ name: "parent_category_id" })
|
||||
parent_category: ProductCategory | null
|
||||
|
||||
// Typeorm also keeps track of the category's parent at all times.
|
||||
@@ -94,9 +94,8 @@ export class ProductCategory extends SoftDeletableEntity {
|
||||
* type: object
|
||||
* description: A product category object.
|
||||
* parent_category:
|
||||
* description: Available if the relation `parent_category` is expanded.
|
||||
* description: A product category object. Available if the relation `parent_category` is expanded.
|
||||
* type: object
|
||||
* description: A product category object.
|
||||
* created_at:
|
||||
* type: string
|
||||
* description: "The date with timezone at which the resource was created."
|
||||
|
||||
Reference in New Issue
Block a user