[RestResourceServer] Check whether each parameters are required or not on registering a server

TODO: Some tests will fail beacuase no valid server type is
registered on testing.