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:
1 parent
3f44abe01a
commit
077e4d9606
2 files changed
+7
-3
No files matched your search
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@medusajs/medusa": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
OAS update
|
||||||
@@ -36,7 +36,7 @@ export class ProductCategory extends SoftDeletableEntity {
|
|||||||
// mpath: String
|
// mpath: String
|
||||||
|
|
||||||
@TreeParent()
|
@TreeParent()
|
||||||
@JoinColumn({ name: 'parent_category_id' })
|
@JoinColumn({ name: "parent_category_id" })
|
||||||
parent_category: ProductCategory | null
|
parent_category: ProductCategory | null
|
||||||
|
|
||||||
// Typeorm also keeps track of the category's parent at all times.
|
// Typeorm also keeps track of the category's parent at all times.
|
||||||
@@ -94,9 +94,8 @@ export class ProductCategory extends SoftDeletableEntity {
|
|||||||
* type: object
|
* type: object
|
||||||
* description: A product category object.
|
* description: A product category object.
|
||||||
* parent_category:
|
* 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
|
* type: object
|
||||||
* description: A product category object.
|
|
||||||
* created_at:
|
* created_at:
|
||||||
* type: string
|
* type: string
|
||||||
* description: "The date with timezone at which the resource was created."
|
* description: "The date with timezone at which the resource was created."
|
||||||
|
|||||||
Reference in new issue
Block a user