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:
Philip Korsholm
2023-01-06 10:46:23 +01:00
committed by GitHub
parent 3f44abe01a
commit 077e4d9606
2 changed files with 7 additions and 3 deletions

View File

@@ -0,0 +1,5 @@
---
"@medusajs/medusa": patch
---
OAS update

View File

@@ -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."