api-ref: wrong parameters and missing parameters in os-keypairs.inc

Bug #1656781 reported by Takashi Natsume
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Takashi Natsume

Bug Description

http://developer.openstack.org/api-ref/compute/#keypairs-keypairs

There are wrong parameters and missing parameters in Keypairs API Reference (os-keypairs.inc).

* List Keypairs
  - Missing "keypair" object parameter
* Create Or Import Keypair
  - 'type' parameter in request should be 'body' parameter instead of 'query' parameter.
  - 'private_key' parameter in response shoud be after required parameters and before microverion parameters.
* Show Keypair Details
  - 'use_id' parameter should be 'query' parameter instead of 'body' parameter.
  - 'type' parameter in reponse should be at the end because it is microversion parameter.
  - Missing parameters(created_at, deleted, deleted_at, updated_at, id)
* Delete Keypair
  - 'use_id' parameter should be 'query' parameter instead of 'body' parameter.

Tags: doc
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/420626

Changed in nova:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/420626
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=2800b53836b9ce13f3806e488f63c096fda2141c
Submitter: Jenkins
Branch: master

commit 2800b53836b9ce13f3806e488f63c096fda2141c
Author: Takashi NATSUME <email address hidden>
Date: Mon Jan 16 18:42:21 2017 +0900

    api-ref: Fix keypair API parameters

    Fix parameter types and the order of parameters.
    Add missing parameters.
    Add a period at the end of a parameter description.
    Replace sample files with v2.10 files.

    Change-Id: I9d8d20b42c7d32e11af479e79c9c9e8475421302
    Closes-Bug: #1656781

Changed in nova:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova 16.0.0.0b1

This issue was fixed in the openstack/nova 16.0.0.0b1 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.