[openstack-dev] [API] How can we design None value in parameter?

Nachi Ueno nachi at nttmcl.com
Mon Aug 6 18:14:07 UTC 2012


Hi folks

In quantum, we can specify None as a parameter value  ( In this case
None is not default value ).
How we design this spec?

Design1:  "None" ( String) is only allowed with case sensitive.
Design2:  null ( Json type ) ( This can't support XML )
Design3:  Allow multiple way. ( None none null "" (empty string) )

I wanna choose consistent way in OpenStack projects.

# I think a PTL for API spec is do needed to maintain consistency
between project...

Nachi : NTT MCL



More information about the OpenStack-dev mailing list