theforeman/foreman — pull request #1730 by shlomizadok (2014-09-02 14:40:46+00:00)
Title: Fixes #7261 - Top level object hash marked as optional, not required in ...

...POST/create APIs

Added :required => true to all the Hashes in the api/v2 controllers so one can not pass an empty hash.