File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
backend/src/packages/business Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -182,6 +182,10 @@ import {
182
182
* minimum: 1
183
183
* description: User id to which the business belongs
184
184
* example: 1
185
+ * BusinessFindResult:
186
+ * allOf:
187
+ * - $ref: '#/components/schemas/Business'
188
+ * nullable: true
185
189
* Driver:
186
190
* type: object
187
191
* properties:
@@ -381,6 +385,8 @@ class BusinessController extends Controller {
381
385
* @swagger
382
386
* /business/:
383
387
* post:
388
+ * security:
389
+ * - bearerAuth: []
384
390
* tags:
385
391
* - business
386
392
* summary: Create business
@@ -434,6 +440,8 @@ class BusinessController extends Controller {
434
440
* @swagger
435
441
* /business/{id}:
436
442
* put:
443
+ * security:
444
+ * - bearerAuth: []
437
445
* tags:
438
446
* - business
439
447
* summary: Update business
@@ -492,6 +500,8 @@ class BusinessController extends Controller {
492
500
* @swagger
493
501
* /business/{id}:
494
502
* delete:
503
+ * security:
504
+ * - bearerAuth: []
495
505
* tags:
496
506
* - business
497
507
* summary: Delete business
@@ -537,6 +547,8 @@ class BusinessController extends Controller {
537
547
* @swagger
538
548
* /business/{id}:
539
549
* get:
550
+ * security:
551
+ * - bearerAuth: []
540
552
* tags:
541
553
* - business
542
554
* summary: Find business
You can’t perform that action at this time.
0 commit comments