- param('themeName').custom(isPluginNameValid).withMessage('Should have a valid theme name'),
- param('themeVersion').custom(isPluginVersionValid).withMessage('Should have a valid theme version'),
- param('staticEndpoint').custom(isSafePath).withMessage('Should have a valid static endpoint'),
+ param('themeName')
+ .custom(isPluginNameValid),
+ param('themeVersion')
+ .custom(isPluginStableOrUnstableVersionValid),
+ param('staticEndpoint')
+ .custom(isSafePath),