Skip to content

Commit bbbfbb4

Browse files
authored
Update api.php
1 parent 088df6d commit bbbfbb4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

api.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2419,6 +2419,9 @@ protected function swagger($settings) {
24192419
echo '"200":{';
24202420
echo '"description":"An array of '.$table['name'].'",';
24212421
echo '"schema":{';
2422+
echo '"type": "object",';
2423+
echo '"properties": {';
2424+
echo '"'.$table['name'].'": {';
24222425
echo '"type":"array",';
24232426
echo '"items":{';
24242427
echo '"type": "object",';
@@ -2451,6 +2454,8 @@ protected function swagger($settings) {
24512454
}
24522455
echo '}'; //properties
24532456
echo '}'; //items
2457+
echo '}'; //table
2458+
echo '}'; //properties
24542459
echo '}'; //schema
24552460
echo '}'; //200
24562461
echo '}'; //responses

0 commit comments

Comments
 (0)