From 8a0e2a10851bd910e53a4bab9bd0612fbc0e9a25 Mon Sep 17 00:00:00 2001 From: Takashi NATSUME Date: Thu, 25 Oct 2018 15:59:29 +0900 Subject: [PATCH] api-ref: Remove unnecessary minimum microversion 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 --- api-ref/source/flavors.inc | 2 +- api-ref/source/os-server-tags.inc | 6 +++--- api-ref/source/parameters.yaml | 16 ++++++++++++---- 3 files changed, 16 insertions(+), 8 deletions(-) diff --git a/api-ref/source/flavors.inc b/api-ref/source/flavors.inc index d3d8e4d453a..dab61b2a97d 100644 --- a/api-ref/source/flavors.inc +++ b/api-ref/source/flavors.inc @@ -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 diff --git a/api-ref/source/os-server-tags.inc b/api-ref/source/os-server-tags.inc index 96fbad73fba..9ed62702e80 100644 --- a/api-ref/source/os-server-tags.inc +++ b/api-ref/source/os-server-tags.inc @@ -47,7 +47,7 @@ Response .. rest_parameters:: parameters.yaml - - tags: tags + - tags: tags_no_min **Example List Tags:** @@ -71,7 +71,7 @@ Request .. rest_parameters:: parameters.yaml - server_id: server_id_path - - tags: tags + - tags: tags_no_min **Example Replace Tags:** @@ -83,7 +83,7 @@ Response .. rest_parameters:: parameters.yaml - - tags: tags + - tags: tags_no_min **Example Replace Tags:** diff --git a/api-ref/source/parameters.yaml b/api-ref/source/parameters.yaml index 31d329c135b..dc97e6837cf 100644 --- a/api-ref/source/parameters.yaml +++ b/api-ref/source/parameters.yaml @@ -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 @@ -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. @@ -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. @@ -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 @@ -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. @@ -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.