@@ -8322,7 +8322,7 @@ private function setPaths() /*: void*/
8322
8322
$ this ->openapi ->set ("paths| $ path| $ method|requestBody| \$ref " , "#/components/requestBodies/ $ operationType " );
8323
8323
}
8324
8324
$ this ->openapi ->set ("paths| $ path| $ method|tags|0 " , "$ type " );
8325
- $ this ->openapi ->set ("paths| $ path| $ method|operationId " , "$ operation " . "_ " . "$ type " );
8325
+ $ this ->openapi ->set ("paths| $ path| $ method|operationId " , "$ operation " . "_ " . "$ type " );
8326
8326
if ($ operationType == 'updateTable ' ) {
8327
8327
$ this ->openapi ->set ("paths| $ path| $ method|description " , "rename table " );
8328
8328
} else {
@@ -8617,7 +8617,7 @@ private function setPath(string $tableName) /*: void*/
8617
8617
$ parameters = ['filter ' , 'include ' , 'exclude ' , 'order ' , 'size ' , 'page ' , 'join ' ];
8618
8618
}
8619
8619
} else {
8620
- $ path = sprintf ('/records/%s/{%s } ' , $ tableName, ' id ' ); // $pkName );
8620
+ $ path = sprintf ('/records/%s/{id } ' , $ tableName );
8621
8621
if ($ operation == 'read ' ) {
8622
8622
$ parameters = ['pk ' , 'include ' , 'exclude ' , 'join ' ];
8623
8623
} else {
@@ -8631,7 +8631,7 @@ private function setPath(string $tableName) /*: void*/
8631
8631
$ this ->openapi ->set ("paths| $ path| $ method|requestBody| \$ref " , "#/components/requestBodies/ $ operation- " . rawurlencode ($ tableName ));
8632
8632
}
8633
8633
$ this ->openapi ->set ("paths| $ path| $ method|tags|0 " , "$ tableName " );
8634
- $ this ->openapi ->set ("paths| $ path| $ method|operationId " , "$ operation " . "_ " . "$ tableName " );
8634
+ $ this ->openapi ->set ("paths| $ path| $ method|operationId " , "$ operation " . "_ " . "$ tableName " );
8635
8635
$ this ->openapi ->set ("paths| $ path| $ method|description " , "$ operation $ tableName " );
8636
8636
switch ($ operation ) {
8637
8637
case 'list ' :
0 commit comments