Skip to content

Commit

Permalink
api-ref: Remove unnecessary minimum microversion
Browse files Browse the repository at this point in the history
A minimum microversion description that is the same as
the microversion the API is newly added is redundant
in parameters. So remove them.

Change-Id: I3e1ca88cac3a52a8b44e26f051a51a6db77a3231
Closes-Bug: #1799893
  • Loading branch information
natsumetakashi committed Oct 25, 2018
1 parent 7a76d0c commit 8a0e2a1
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
2 changes: 1 addition & 1 deletion api-ref/source/flavors.inc
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ Response

- flavor: flavor
- name: flavor_name
- description: flavor_description_resp
- description: flavor_description_resp_no_min
- id: flavor_id_body
- ram: flavor_ram
- disk: flavor_disk
Expand Down
6 changes: 3 additions & 3 deletions api-ref/source/os-server-tags.inc
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Response

.. rest_parameters:: parameters.yaml

- tags: tags
- tags: tags_no_min

**Example List Tags:**

Expand All @@ -71,7 +71,7 @@ Request
.. rest_parameters:: parameters.yaml

- server_id: server_id_path
- tags: tags
- tags: tags_no_min

**Example Replace Tags:**

Expand All @@ -83,7 +83,7 @@ Response

.. rest_parameters:: parameters.yaml

- tags: tags
- tags: tags_no_min

**Example Replace Tags:**

Expand Down
16 changes: 12 additions & 4 deletions api-ref/source/parameters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ tag_location:
in: header
required: true
type: string
min_version: 2.26
x-compute-request-id_resp:
description: |
The local request ID, which is a unique ID generated automatically
Expand Down Expand Up @@ -324,7 +323,6 @@ tag:
in: path
required: true
type: string
min_version: 2.26
tenant_id:
description: |
The UUID of the tenant in a multi-tenancy cloud.
Expand Down Expand Up @@ -2766,7 +2764,6 @@ flavor_description_required:
type: string
in: body
required: true
min_version: 2.55
description: |
A free form description of the flavor. Limited to 65535 characters
in length. Only printable characters are allowed.
Expand All @@ -2777,6 +2774,12 @@ flavor_description_resp:
required: true
type: string
min_version: 2.55
flavor_description_resp_no_min:
description: |
The description of the flavor.
in: body
required: true
type: string
flavor_disabled:
in: body
required: false
Expand Down Expand Up @@ -3141,7 +3144,6 @@ force_migration_complete:
in: body
required: true
type: none
min_version: 2.22
force_snapshot:
description: |
Indicates whether to create a snapshot, even if the volume is attached.
Expand Down Expand Up @@ -6304,6 +6306,12 @@ tags:
required: true
type: array
min_version: 2.26
tags_no_min:
description: |
A list of tags. The maximum count of tags in this list is 50.
in: body
required: true
type: array
tenant_id_body:
description: |
The UUID of the tenant in a multi-tenancy cloud.
Expand Down

0 comments on commit 8a0e2a1

Please sign in to comment.