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