Skip to content

Commit

Permalink
api-ref: Fix parameters in server-security-groups
Browse files Browse the repository at this point in the history
Change-Id: Ie8dc3252603ce77910e1addb67cdc8844369dfca
Implements: blueprint api-ref-in-rst-pike
Closes-Bug: #1699732
  • Loading branch information
natsumetakashi committed Jul 10, 2017
1 parent dcea3ff commit 3f96ec6
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions api-ref/source/os-security-groups.inc
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Response

- security_groups: security_groups
- description: description
- id: id
- id: security_group_id_body
- name: name
- rules: rules
- tenant_id: tenant_id_body
Expand Down Expand Up @@ -86,7 +86,7 @@ Response

- security_group: security_group
- description: description
- id: id
- id: security_group_id_body
- name: name
- rules: rules
- tenant_id: tenant_id_body
Expand Down Expand Up @@ -122,7 +122,7 @@ Response

- security_group: security_group
- description: description
- id: id
- id: security_group_id_body
- name: name
- rules: rules
- tenant_id: tenant_id_body
Expand Down Expand Up @@ -165,7 +165,7 @@ Response

- security_group: security_group
- description: description
- id: id
- id: security_group_id_body
- name: name
- rules: rules
- tenant_id: tenant_id_body
Expand Down
16 changes: 8 additions & 8 deletions api-ref/source/parameters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2927,12 +2927,6 @@ hypervisors:
in: body
required: true
type: array
id:
description: |
The security group name or UUID.
in: body
required: true
type: string
image:
description: |
The UUID and links for the image for your server instance. The ``image`` object
Expand Down Expand Up @@ -4565,7 +4559,7 @@ revertResize:
type: none
rules:
description: |
A security group rules object.
The list of security group rules.
in: body
required: true
type: array
Expand Down Expand Up @@ -4629,6 +4623,12 @@ security_group_default_rules:
in: body
required: true
type: array
security_group_id_body:
description: |
The ID of the security group.
in: body
required: true
type: string
security_group_rule:
description: |
A ``security_group_rule`` object.
Expand Down Expand Up @@ -4676,7 +4676,7 @@ security_groups:
type: array
security_groups_obj:
description: |
Security groups object.
One or more security groups objects.
in: body
required: true
type: array
Expand Down
4 changes: 2 additions & 2 deletions api-ref/source/server-security-groups.inc
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ Response

.. rest_parameters:: parameters.yaml

- security_groups: security_groups
- security_groups: security_groups_obj
- description: description
- id: id
- id: security_group_id_body
- name: name
- rules: rules
- tenant_id: tenant_id_body
Expand Down

0 comments on commit 3f96ec6

Please sign in to comment.