Skip to content

Commit 65fa9fb

Browse files
committed
Update seller routes (Swagger).
1 parent 26eecc7 commit 65fa9fb

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/routes/seller.routes.ts

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,7 @@ import upload from "../utils/multer";
2222
* type: string
2323
* description: Description of the seller
2424
* seller_type:
25-
* type: string
26-
* description: Type of the seller
27-
* enum:
28-
* - active
29-
* - inactive
30-
* - test
31-
* - other
25+
* $ref: '/api/docs/enum/SellerType.yml#/components/schemas/SellerType'
3226
* image:
3327
* type: string
3428
* description: Image of the seller
@@ -56,6 +50,11 @@ import upload from "../utils/multer";
5650
* required:
5751
* - type
5852
* - coordinates
53+
* fulfillment_type:
54+
* $ref: '/api/docs/enum/FulfillmentType.yml#/components/schemas/FulfillmentType'
55+
* fulfillment_description:
56+
* type: string
57+
* description: Description of the fulfillment
5958
* order_online_enabled_pref:
6059
* type: boolean
6160
* description: Preference for online ordering availability

0 commit comments

Comments
 (0)