File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Tqdev/PhpCrudApi/OpenApi Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -122,8 +122,8 @@ private function setComponentSchema(String $tableName) /*: void*/
122122 }
123123 }
124124 $ this ->openapi ->set ("components|schemas|list_of_ $ tableName|type " , "object " );
125- $ this ->openapi ->set ("components|schemas|list_of_ $ tableName|properties|count |type " , "integer " );
126- $ this ->openapi ->set ("components|schemas|list_of_ $ tableName|properties|count |format " , "int64 " );
125+ $ this ->openapi ->set ("components|schemas|list_of_ $ tableName|properties|results |type " , "integer " );
126+ $ this ->openapi ->set ("components|schemas|list_of_ $ tableName|properties|results |format " , "int64 " );
127127 $ this ->openapi ->set ("components|schemas|list_of_ $ tableName|properties|records|type " , "array " );
128128 $ this ->openapi ->set ("components|schemas|list_of_ $ tableName|properties|records|items| \$ref " , "#/components/schemas/single_ " . urlencode ($ tableName ));
129129 }
You can’t perform that action at this time.
0 commit comments