api-ref: Fix parameters in server-security-groups

Change-Id: Ie8dc3252603ce77910e1addb67cdc8844369dfca
Implements: blueprint api-ref-in-rst-pike
Closes-Bug: #1699732
This commit is contained in:
Takashi NATSUME
2017-06-22 17:40:47 +09:00
parent dcea3ff687
commit 3f96ec6490
3 changed files with 14 additions and 14 deletions

View File

@@ -43,7 +43,7 @@ Response
- security_groups: security_groups - security_groups: security_groups
- description: description - description: description
- id: id - id: security_group_id_body
- name: name - name: name
- rules: rules - rules: rules
- tenant_id: tenant_id_body - tenant_id: tenant_id_body
@@ -86,7 +86,7 @@ Response
- security_group: security_group - security_group: security_group
- description: description - description: description
- id: id - id: security_group_id_body
- name: name - name: name
- rules: rules - rules: rules
- tenant_id: tenant_id_body - tenant_id: tenant_id_body
@@ -122,7 +122,7 @@ Response
- security_group: security_group - security_group: security_group
- description: description - description: description
- id: id - id: security_group_id_body
- name: name - name: name
- rules: rules - rules: rules
- tenant_id: tenant_id_body - tenant_id: tenant_id_body
@@ -165,7 +165,7 @@ Response
- security_group: security_group - security_group: security_group
- description: description - description: description
- id: id - id: security_group_id_body
- name: name - name: name
- rules: rules - rules: rules
- tenant_id: tenant_id_body - tenant_id: tenant_id_body

View File

@@ -2927,12 +2927,6 @@ hypervisors:
in: body in: body
required: true required: true
type: array type: array
id:
description: |
The security group name or UUID.
in: body
required: true
type: string
image: image:
description: | description: |
The UUID and links for the image for your server instance. The ``image`` object The UUID and links for the image for your server instance. The ``image`` object
@@ -4565,7 +4559,7 @@ revertResize:
type: none type: none
rules: rules:
description: | description: |
A security group rules object. The list of security group rules.
in: body in: body
required: true required: true
type: array type: array
@@ -4629,6 +4623,12 @@ security_group_default_rules:
in: body in: body
required: true required: true
type: array type: array
security_group_id_body:
description: |
The ID of the security group.
in: body
required: true
type: string
security_group_rule: security_group_rule:
description: | description: |
A ``security_group_rule`` object. A ``security_group_rule`` object.
@@ -4676,7 +4676,7 @@ security_groups:
type: array type: array
security_groups_obj: security_groups_obj:
description: | description: |
Security groups object. One or more security groups objects.
in: body in: body
required: true required: true
type: array type: array

View File

@@ -29,9 +29,9 @@ Response
.. rest_parameters:: parameters.yaml .. rest_parameters:: parameters.yaml
- security_groups: security_groups - security_groups: security_groups_obj
- description: description - description: description
- id: id - id: security_group_id_body
- name: name - name: name
- rules: rules - rules: rules
- tenant_id: tenant_id_body - tenant_id: tenant_id_body