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 some
parameters (e.g. 'project_id', 'user_id'[2])
are defined as 'optional'.
[1] List Keypairs in Keypairs (keypairs)
https://developer.openstack.org/api-ref/compute/?expanded=list-keypairs-detail#list-keypairs
[2] List Server Groups in Server groups (os-server-groups)
https://developer.openstack.org/api-ref/compute/?expanded=list-server-groups-detail#list-server-groups
In the case that the parameter is always included in the response after
a certain microversion,
should it be defined as 'required' instead of 'optional'?
Regards,
Takashi Natsume
NTT Software Innovation Center
E-mail: [email protected]
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev