public function resolveOperationPath(string $resourceShortName, array $operation, bool $collection) : string
{
$path = '/' . Inflector::pluralize(strtolower(preg_replace('~(?<=\\w)([A-Z])~', '-$1', $resourceShortName)));
if (!$collection) {
$path .= '/{id}';
}
$path .= '.{_format}';
return $path;
}