On Mon, Jan 19, 2015 at 3:54 PM, Kevin L. Mitchell < kevin.mitch...@rackspace.com> wrote:
> When we look at consistency, we look at everything else in OpenStack. > From the standpoint of the nova API (with which I am the most familiar), > I am not aware of any property that is ever omitted from any payload > without versioning coming in to the picture, even if its value is null. > Thus, I would argue that we should encourage the first situation, where > all properties are included, even if their value is null. > Independent of actual implementations in OpenStack, I prefer always including null/empty properties here because it is slightly more self-documenting. Having spent the morning chasing down attributes for an API to be named at a later date by looking at server code, we do not help ourselves or the users of our APIs by omitting this sort of thing. dt -- Dean Troyer dtro...@gmail.com
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev