@@ -8322,7 +8322,7 @@ private function setPaths() /*: void*/
83228322 $ this ->openapi ->set ("paths| $ path| $ method|requestBody| \$ref " , "#/components/requestBodies/ $ operationType " );
83238323 }
83248324 $ 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 " );
83268326 if ($ operationType == 'updateTable ' ) {
83278327 $ this ->openapi ->set ("paths| $ path| $ method|description " , "rename table " );
83288328 } else {
@@ -8617,7 +8617,7 @@ private function setPath(string $tableName) /*: void*/
86178617 $ parameters = ['filter ' , 'include ' , 'exclude ' , 'order ' , 'size ' , 'page ' , 'join ' ];
86188618 }
86198619 } else {
8620- $ path = sprintf ('/records/%s/{%s } ' , $ tableName, ' id ' ); // $pkName );
8620+ $ path = sprintf ('/records/%s/{id } ' , $ tableName );
86218621 if ($ operation == 'read ' ) {
86228622 $ parameters = ['pk ' , 'include ' , 'exclude ' , 'join ' ];
86238623 } else {
@@ -8631,7 +8631,7 @@ private function setPath(string $tableName) /*: void*/
86318631 $ this ->openapi ->set ("paths| $ path| $ method|requestBody| \$ref " , "#/components/requestBodies/ $ operation- " . rawurlencode ($ tableName ));
86328632 }
86338633 $ 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 " );
86358635 $ this ->openapi ->set ("paths| $ path| $ method|description " , "$ operation $ tableName " );
86368636 switch ($ operation ) {
86378637 case 'list ' :
0 commit comments