File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88
99 'version_designator ' => 'v ' ,
1010 'versions ' => [
11- 4 => [
12- 'vendor ' => 'vnd.wps_api . ' ,
11+ 1 => [
12+ 'vendor ' => 'vnd.your_api . ' ,
1313 'media ' => [
1414 'types ' => ['json ' ],
1515 'default ' => 'json ' ,
1818 'page_size ' => 10 ,
1919 'current_position ' => 'current ' ,
2020 ],
21+ // This is typically used for testing for getting ids for routes that are non-standard.
2122 'resourceIdsMap ' => [
22- '/catalogs /{random_id}/catalogtabs ' => function () {
23- return (new \LaraPackage \RandomId \TableFetcher )->getRandomColumnEntries ('catalogtabs ' , ['catalog_id ' ]);
23+ '/your /{random_id}/route ' => function () {
24+ return (new \LaraPackage \RandomId \TableFetcher )->getRandomColumnEntries ('table ' , ['column_id ' ]);
2425 },
2526 ],
27+ 'factory ' => \LaraPackage \Api \Factory \VersionFactory::class,
2628 ],
2729 ],
2830];
You can’t perform that action at this time.
0 commit comments