restapi: Validate action links are terminated properly

Due to code generator limitations, the action links are not allowed
to be terminated by "/". The patch provides the validation for it.

Signed-off-by: Moti Asayag <masayag@redhat.com>
Change-Id: I22e52348e3ecc95599907fb04f6ec63fdc2b07b0