[openstack-dev] [api] Optional Properties in an Entity

Chris Dent chdent at redhat.com
Tue Jan 20 10:13:53 UTC 2015


On Mon, 19 Jan 2015, Dean Troyer wrote:

> 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.

+1

-- 
Chris Dent tw:@anticdent freenode:cdent
https://tank.peermore.com/tanks/cdent



More information about the OpenStack-dev mailing list