[Api-ref] Cleanup parameters.yaml

This commit:
* removes all params defined in parameters.yaml which are
  not used in any .inc file,
* rename "type_2" param to "vpn_endpoint_type" as it is easier to
  understand what it is,
* remove "tenant_id" and "tenant_id-request" params and replace them
  with "project_id-body-optional" and "project_id-request" as both were
  the same

Change-Id: I6acfc28514e3201b6035a6bbfedc08ec8e389899
Closes-Bug: #1745380
This commit is contained in:
Sławek Kapłoński 2018-01-28 10:34:38 +01:00
parent 1f6dccc3d8
commit adefc64f21
4 changed files with 19 additions and 1854 deletions

View File

@ -89,7 +89,7 @@ Request
- export_targets: bgpvpn-export_targets
- local_pref: bgpvpn-local_pref-request
- vni: bgpvpn-vni
- tenant_id: tenant_id-request
- tenant_id: project_id-request
- project_id: project_id-request
- type: bgpvpn-type

File diff suppressed because it is too large Load Diff

View File

@ -36,7 +36,7 @@ Response Parameters
.. rest_parameters:: parameters.yaml
- target_tenant: target_tenant
- tenant_id: tenant_id
- tenant_id: project_id-body-optional
- object_type: object_type
- object_id: object_id
- action: rbac_action
@ -80,7 +80,7 @@ Response Parameters
.. rest_parameters:: parameters.yaml
- target_tenant: target_tenant
- tenant_id: tenant_id
- tenant_id: project_id-body-optional
- object_type: object_type
- object_id: object_id
- action: rbac_action
@ -145,7 +145,7 @@ Response Parameters
.. rest_parameters:: parameters.yaml
- target_tenant: target_tenant
- tenant_id: tenant_id
- tenant_id: project_id-body-optional
- object_type: object_type
- object_id: object_id
- action: rbac_action
@ -191,7 +191,7 @@ Response Parameters
.. rest_parameters:: parameters.yaml
- target_tenant: target_tenant
- tenant_id: tenant_id
- tenant_id: project_id-body-optional
- object_type: object_type
- object_id: object_id
- action: rbac_action

View File

@ -888,7 +888,7 @@ Response Parameters
- description: description-request
- tenant_id: project_id
- project_id: project_id
- type: type_2
- type: vpn_endpoint_type
- id: endpoint_group_id-body-response
Response Example
@ -919,7 +919,7 @@ Request
- tenant_id: project_id
- project_id: project_id
- endpoints: endpoints
- type: type_2
- type: vpn_endpoint_type
- description: description-request
- name: name-request
@ -938,7 +938,7 @@ Response Parameters
- description: description-request
- tenant_id: project_id
- project_id: project_id
- type: type_2
- type: vpn_endpoint_type
- id: endpoint_group_id-body-response
- name: name-request
@ -975,7 +975,7 @@ Response Parameters
- description: description-request
- tenant_id: project_id
- project_id: project_id
- type: type_2
- type: vpn_endpoint_type
- id: endpoint_group_id-body-response
- name: name-request
@ -1020,7 +1020,7 @@ Response Parameters
- description: description-request
- tenant_id: project_id
- project_id: project_id
- type: type_2
- type: vpn_endpoint_type
- id: endpoint_group_id-body-response
- name: name-request