diff --git a/OpenAPI-v2.yml b/OpenAPI-v2.yml index 5d3d50b..c58a636 100644 --- a/OpenAPI-v2.yml +++ b/OpenAPI-v2.yml @@ -1919,6 +1919,19 @@ components: - role - joinDate VTCPartnershipsIndex: + description: '' + type: object + properties: + partners: + type: array + items: + $ref: '#/components/schemas/VTCPartnership' + pending_requests_count: + type: integer + description: Amount of pending VTC partnership requests involving the VTC. + required: + - partners + VTCPartnership: description: '' type: object properties: @@ -1935,18 +1948,15 @@ components: type: string description: The timestamp the VTC partnership was last updated at. This will be due to the status changing. sender: - type: array + type: object + description: Returns a VTC object for the VTC that sent the request. items: $ref: '#/components/schemas/VTC' - description: Returns a VTC object for the VTC that sent the request. receiver: - type: array + type: object + description: Returns a VTC object for the VTC that received the request. items: $ref: '#/components/schemas/VTC' - description: Returns a VTC object for the VTC that received the request. - pending_requests_count: - type: integer - description: Returns the number of pending VTC requests requiring action. required: - id - status