restapi: prevent NPE in rsdl gen when missing body params

Change-Id: Id3fff227bb3dc21da16953f1aa1dfaeed5cd4709
Signed-off-by: Michael pasternak <mpastern@redhat.com>