Re: [openstack-dev] [nova] The definition of 'Optional' parameter in API reference

2017-07-09 Thread Matt Riedemann
On 7/4/2017 7:13 PM, Takashi Natsume wrote: On 2017/07/04 21:12, Alex Xu wrote: 2017-07-04 15:40 GMT+08:00 Ghanshyam Mann : On Mon, Jul 3, 2017 at 1:38 PM, Takashi Natsume wrote: In Nova API reference, there is inconsistency in whether to define parameters added in new microversion as 'optio

Re: [openstack-dev] [nova] The definition of 'Optional' parameter in API reference

2017-07-04 Thread Takashi Natsume
On 2017/07/04 21:12, Alex Xu wrote: 2017-07-04 15:40 GMT+08:00 Ghanshyam Mann : On Mon, Jul 3, 2017 at 1:38 PM, Takashi Natsume wrote: In Nova API reference, there is inconsistency in whether to define parameters added in new microversion as 'optional' or not. Those should be defined based

Re: [openstack-dev] [nova] The definition of 'Optional' parameter in API reference

2017-07-04 Thread Alex Xu
2017-07-04 15:40 GMT+08:00 Ghanshyam Mann : > On Mon, Jul 3, 2017 at 1:38 PM, Takashi Natsume > wrote: > > Hi, all. > > > > In Nova API reference, there is inconsistency in > > whether to define parameters added in new microversion as 'optional' or > not. > > Those should be defined based on how

Re: [openstack-dev] [nova] The definition of 'Optional' parameter in API reference

2017-07-04 Thread Ghanshyam Mann
On Mon, Jul 3, 2017 at 1:38 PM, Takashi Natsume wrote: > Hi, all. > > In Nova API reference, there is inconsistency in > whether to define parameters added in new microversion as 'optional' or not. Those should be defined based on how they are defined in respective microversion. If they are 'opti

[openstack-dev] [nova] The definition of 'Optional' parameter in API reference

2017-07-02 Thread Takashi Natsume
Hi, all. In Nova API reference, there is inconsistency in whether to define parameters added in new microversion as 'optional' or not. In the case that the parameter is always included in the response after a certain microversion, some parameters(e.g. 'type' [1]) are defined as 'required', but