Browse Source

Fix api-ref roles response description

This patch removes the optional infront of the description
of roles API response. Since the response APIs fields are not
optional [1].

[1]https://docs.openstack.org/api-ref/identity/v3/?expanded=list-roles-detail#roles

Change-Id: I8ada8d600bf3c096df7fe9f993f8a38b2e80bf86
tags/17.0.0.0rc1
Vishakha Agarwal 8 months ago
parent
commit
5d6b8cb3db
2 changed files with 6 additions and 6 deletions
  1. +2
    -2
      api-ref/source/v3/parameters.yaml
  2. +4
    -4
      api-ref/source/v3/roles.inc

+ 2
- 2
api-ref/source/v3/parameters.yaml View File

@@ -1860,11 +1860,11 @@ role_description_create_body:
in: body
required: false
type: string
role_description_response_body:
role_description_response_body_required:
description: |
The role description.
in: body
required: false
required: true
type: string
role_description_update_body:
description: |


+ 4
- 4
api-ref/source/v3/roles.inc View File

@@ -133,7 +133,7 @@ Parameters
- id: role_id_response_body
- links: link_response_body
- name: role_name_response_body
- description: role_description_response_body
- description: role_description_response_body_required

Status Codes
~~~~~~~~~~~~
@@ -202,7 +202,7 @@ Parameters
- id: role_id_response_body
- links: link_response_body
- name: role_name_response_body
- description: role_description_response_body
- description: role_description_response_body_required

Status Codes
~~~~~~~~~~~~
@@ -251,7 +251,7 @@ Parameters
- id: role_id_response_body
- links: link_response_body
- name: role_name_response_body
- description: role_description_response_body
- description: role_description_response_body_required

Status Codes
~~~~~~~~~~~~
@@ -315,7 +315,7 @@ Parameters
- id: role_id_response_body
- links: link_response_body
- name: role_name_response_body
- description: role_description_response_body
- description: role_description_response_body_required

Status Codes
~~~~~~~~~~~~


Loading…
Cancel
Save