Commit 9151038a authored by Muhammad Hamza's avatar Muhammad Hamza
Browse files

Updated Responses and Refs

parent ec18eebd
Pipeline #7654 running with stage
......@@ -41,7 +41,7 @@ paths:
- $ref: "../components/SOL009_params.yaml#/components/parameters/Authorization"
responses:
"200":
$ref: "#/components/responses/mano_entity.get.200"
$ref: "#/components/responses/ManoEntity.Get.200"
"400":
$ref: ../components/SOL009_resp.yaml#/components/responses/400
"401":
......@@ -73,11 +73,11 @@ paths:
$ref: "#/components/requestBodies/ModifyManoEntityRequest"
responses:
"200":
$ref: "#/components/responses/mano_entity.patch.200"
$ref: "#/components/responses/ManoEntity.Patch.200"
"409":
$ref: "#/components/responses/mano_entity.patch.409"
$ref: "#/components/responses/ManoEntity.Patch.409"
"412":
$ref: "#/components/responses/mano_entity.patch.412"
$ref: "#/components/responses/ManoEntity.Patch.412"
"400":
$ref: ../components/SOL009_resp.yaml#/components/responses/400
"401":
......@@ -112,9 +112,9 @@ paths:
$ref: "#/components/requestBodies/ChangeManoEntityStateRequest"
responses:
"202":
$ref: "#/components/responses/mano_entity-change_state.post.202"
$ref: "#/components/responses/ChangeState.Post.202"
"409":
$ref: "#/components/responses/mano_entity-change_state.post.409"
$ref: "#/components/responses/ChangeState.Post.409"
"400":
$ref: ../components/SOL009_resp.yaml#/components/responses/400
"401":
......@@ -153,9 +153,9 @@ paths:
- $ref: "../components/SOL009_params.yaml#/components/parameters/Authorization"
responses:
"200":
$ref: "#/components/responses/mano_entity-mano_interfaces.get.200"
$ref: "#/components/responses/ManoInterfaces.Get.200"
"400":
$ref: "#/components/responses/mano_entity-mano_interfaces.get.400"
$ref: "#/components/responses/ManoInterfaces.Get.400"
"401":
$ref: ../components/SOL009_resp.yaml#/components/responses/401
"403":
......@@ -189,7 +189,7 @@ paths:
- $ref: "../components/SOL009_params.yaml#/components/parameters/Authorization"
responses:
"200":
$ref: "#/components/responses/mano_entity-mano_interface.get.200"
$ref: "#/components/responses/IndividualManoInterface.Get.200"
"401":
$ref: ../components/SOL009_resp.yaml#/components/responses/401
"403":
......@@ -219,11 +219,11 @@ paths:
$ref: "#/components/requestBodies/ModifyManoEnityInterfaceRequest"
responses:
"200":
$ref: "#/components/responses/mano_entity-mano_interface.patch.200"
$ref: "#/components/responses/IndividualManoInterface.Patch.200"
"409":
$ref: "#/components/responses/mano_entity-mano_interface.patch.409"
$ref: "#/components/responses/IndividualManoInterface.Patch.409"
"412":
$ref: "#/components/responses/mano_entity-mano_interface.patch.412"
$ref: "#/components/responses/IndividualManoInterface.Patch.412"
"400":
$ref: ../components/SOL009_resp.yaml#/components/responses/400
"401":
......@@ -260,9 +260,9 @@ paths:
$ref: "#/components/requestBodies/ChangeManoEntityInterfaceStateRequest"
responses:
"202":
$ref: "#/components/responses/mano_entity-mano_interface-change_state.post.202"
$ref: "#/components/responses/ManoInterfaceChangeState.Post.202"
"409":
$ref: "#/components/responses/mano_entity-mano_interface-change_state.post.409"
$ref: "#/components/responses/ManoInterfaceChangeState.Post.409"
"400":
$ref: ../components/SOL009_resp.yaml#/components/responses/400
"401":
......@@ -296,9 +296,11 @@ paths:
$ref: "#/components/requestBodies/CimSubscriptionRequest"
responses:
"201":
$ref: "#/components/responses/subscriptions.post.201"
$ref: "#/components/responses/Subscriptions.Post.201"
"303":
$ref: "#/components/responses/subscriptions.post.303"
$ref: "#/components/responses/Subscriptions.Post.303"
"422":
$ref: "#/components/responses/Subscriptions.Post.422"
"400":
$ref: ../components/SOL009_resp.yaml#/components/responses/400
"401":
......@@ -311,8 +313,6 @@ paths:
$ref: ../components/SOL009_resp.yaml#/components/responses/405
"406":
$ref: ../components/SOL009_resp.yaml#/components/responses/406
"422":
$ref: ../components/SOL009_resp.yaml#/components/responses/422
"500":
$ref: ../components/SOL009_resp.yaml#/components/responses/500
"503":
......@@ -332,9 +332,9 @@ paths:
- $ref: "../components/SOL009_params.yaml#/components/parameters/Authorization"
responses:
"200":
$ref: "#/components/responses/subscriptions.get.200"
$ref: "#/components/responses/Subscriptions.Get.200"
"400":
$ref: "#/components/responses/subscriptions.get.400"
$ref: "#/components/responses/Subscriptions.Get.400"
"401":
$ref: ../components/SOL009_resp.yaml#/components/responses/401
"403":
......@@ -367,7 +367,7 @@ paths:
- $ref: "../components/SOL009_params.yaml#/components/parameters/Authorization"
responses:
"200":
$ref: "#/components/responses/subscription.get.200"
$ref: "#/components/responses/Subscription.Get.200"
"400":
$ref: ../components/SOL009_resp.yaml#/components/responses/400
"401":
......@@ -397,7 +397,7 @@ paths:
- $ref: "../components/SOL009_params.yaml#/components/parameters/Authorization"
responses:
"204":
$ref: "#/components/responses/subscription.delete.204"
$ref: "#/components/responses/Subscription.Delete.204"
"400":
$ref: ../components/SOL009_resp.yaml#/components/responses/400
"401":
......@@ -436,9 +436,9 @@ paths:
- $ref: "../components/SOL009_params.yaml#/components/parameters/Authorization"
responses:
"200":
$ref: "#/components/responses/change_state_ops.get.200"
$ref: "#/components/responses/ChangeStateOpOcc.Get.200"
"400":
$ref: "#/components/responses/change_state_ops.get.400"
$ref: "#/components/responses/ChangeStateOpOcc.Get.400"
"401":
$ref: ../components/SOL009_resp.yaml#/components/responses/401
"403":
......@@ -472,7 +472,7 @@ paths:
- $ref: "../components/SOL009_params.yaml#/components/parameters/Authorization"
responses:
"200":
$ref: "#/components/responses/change_state_op.get.200"
$ref: "#/components/responses/IndividualChangeStateOpOcc.Get.200"
"400":
$ref: ../components/SOL009_resp.yaml#/components/responses/400
"401":
......@@ -508,7 +508,7 @@ paths:
$ref: "#/components/requestBodies/CreatePeerEntityRequest"
responses:
"201":
$ref: "#/components/responses/peer_entities.post.201"
$ref: "#/components/responses/PeerEntities.Post.201"
"400":
$ref: ../components/SOL009_resp.yaml#/components/responses/400
"401":
......@@ -545,9 +545,9 @@ paths:
- $ref: "../components/SOL009_params.yaml#/components/parameters/Authorization"
responses:
"200":
$ref: "#/components/responses/peer_entities.get.200"
$ref: "#/components/responses/PeerEntities.Get.200"
"400":
$ref: "#/components/responses/peer_entities.get.400"
$ref: "#/components/responses/PeerEntities.Get.400"
"401":
$ref: ../components/SOL009_resp.yaml#/components/responses/401
"403":
......@@ -580,7 +580,7 @@ paths:
- $ref: "../components/SOL009_params.yaml#/components/parameters/Authorization"
responses:
"200":
$ref: "#/components/responses/peer_entitie.get.200"
$ref: "#/components/responses/IndividualPeerEntity.Get.200"
"400":
$ref: ../components/SOL009_resp.yaml#/components/responses/400
"401":
......@@ -614,11 +614,11 @@ paths:
$ref: "#/components/requestBodies/ModifyPeerEntityRequest"
responses:
"200":
$ref: "#/components/responses/peer_entitie.patch.200"
$ref: "#/components/responses/IndividualPeerEntity.Patch.200"
"409":
$ref: "#/components/responses/peer_entitie.patch.409"
$ref: "#/components/responses/IndividualPeerEntity.Patch.409"
"412":
$ref: "#/components/responses/peer_entitie.patch.412"
$ref: "#/components/responses/IndividualPeerEntity.Patch.412"
"401":
$ref: ../components/SOL009_resp.yaml#/components/responses/401
"403":
......@@ -651,11 +651,9 @@ paths:
- $ref: "../components/SOL009_params.yaml#/components/parameters/Authorization"
responses:
"204":
$ref: "#/components/responses/peer_entitie.delete.204"
$ref: "#/components/responses/IndividualPeerEntity.Delete.204"
"409":
$ref: "#/components/responses/peer_entitie.delete.409"
"412":
$ref: "#/components/responses/peer_entitie.delete.412"
$ref: "#/components/responses/IndividualPeerEntity.Delete.409"
"401":
$ref: ../components/SOL009_resp.yaml#/components/responses/401
"403":
......@@ -666,6 +664,8 @@ paths:
$ref: ../components/SOL009_resp.yaml#/components/responses/405
"406":
$ref: ../components/SOL009_resp.yaml#/components/responses/406
"412":
$ref: ../components/SOL009_resp.yaml#/components/responses/412
"422":
$ref: ../components/SOL009_resp.yaml#/components/responses/422
"500":
......@@ -2584,7 +2584,7 @@ components:
required: true
responses:
mano_entity.get.200:
ManoEntity.Get.200:
description: >
200 OK
......@@ -2610,7 +2610,7 @@ components:
schema:
$ref: "#/components/schemas/ManoEntity"
mano_entity.patch.200:
ManoEntity.Patch.200:
description: >
200 OK
......@@ -2633,7 +2633,7 @@ components:
application/json:
schema:
$ref: "#/components/schemas/ManoConfigModifications"
mano_entity.patch.409:
ManoEntity.Patch.409:
description: >
409 CONFLICT
......@@ -2663,7 +2663,7 @@ components:
application/json:
schema:
$ref: "../components/SOL009_schemas.yaml#/components/schemas/ProblemDetails"
mano_entity.patch.412:
ManoEntity.Patch.412:
description: >
412 PRECONDITION FAILED
......@@ -2693,7 +2693,7 @@ components:
schema:
$ref: "../components/SOL009_schemas.yaml#/components/schemas/ProblemDetails"
mano_entity-change_state.post.202:
ChangeState.Post.202:
description: >
202 ACCEPTED
......@@ -2725,7 +2725,7 @@ components:
format: url
minimum: 1
maximum: 1
mano_entity-change_state.post.409:
ChangeState.Post.409:
description: >
409 CONFLICT
......@@ -2755,7 +2755,7 @@ components:
schema:
$ref: "../components/SOL009_schemas.yaml#/components/schemas/ProblemDetails"
mano_entity-mano_interfaces.get.200:
ManoInterfaces.Get.200:
description: >
200 OK
......@@ -2803,7 +2803,7 @@ components:
type: array
items:
$ref: "#/components/schemas/ManoServiceInterface"
mano_entity-mano_interfaces.get.400:
ManoInterfaces.Get.400:
description: >
400 BAD REQUEST
......@@ -2837,7 +2837,7 @@ components:
schema:
$ref: "../components/SOL009_schemas.yaml#/components/schemas/ProblemDetails"
mano_entity-mano_interface.get.200:
IndividualManoInterface.Get.200:
description: >
200 OK
......@@ -2863,7 +2863,7 @@ components:
application/json:
schema:
$ref: "#/components/schemas/ManoServiceInterface"
mano_entity-mano_interface.patch.200:
IndividualManoInterface.Patch.200:
description: >
200 OK
......@@ -2889,7 +2889,7 @@ components:
application/json:
schema:
$ref: "#/components/schemas/ManoServiceInterfaceModifications"
mano_entity-mano_interface.patch.409:
IndividualManoInterface.Patch.409:
description: >
409 CONFLICT
......@@ -2920,7 +2920,7 @@ components:
application/json:
schema:
$ref: "../components/SOL009_schemas.yaml#/components/schemas/ProblemDetails"
mano_entity-mano_interface.patch.412:
IndividualManoInterface.Patch.412:
description: >
412 PRECONDITION FAILED
......@@ -2951,7 +2951,7 @@ components:
schema:
$ref: "../components/SOL009_schemas.yaml#/components/schemas/ProblemDetails"
mano_entity-mano_interface-change_state.post.202:
ManoInterfaceChangeState.Post.202:
description: >
202 ACCEPTED
......@@ -2985,7 +2985,7 @@ components:
format: url
minimum: 1
maximum: 1
mano_entity-mano_interface-change_state.post.409:
ManoInterfaceChangeState.Post.409:
description: >
409 CONFLICT
......@@ -3015,7 +3015,7 @@ components:
schema:
$ref: "../components/SOL009_schemas.yaml#/components/schemas/ProblemDetails"
subscriptions.post.201:
Subscriptions.Post.201:
description: >
201 CREATED
......@@ -3052,7 +3052,7 @@ components:
application/json:
schema:
$ref: "#/components/schemas/CimSubscription"
subscriptions.post.303:
Subscriptions.Post.303:
description: >
303 SEE OTHER
......@@ -3087,7 +3087,7 @@ components:
format: url
minimum: 1
maximum: 1
subscriptions.post.422:
Subscriptions.Post.422:
description: >
422 Unprocessable Entity
......@@ -3123,7 +3123,7 @@ components:
schema:
$ref: "../components/SOL009_schemas.yaml#/components/schemas/ProblemDetails"
subscriptions.get.200:
Subscriptions.Get.200:
description: >
200 OK
......@@ -3170,7 +3170,7 @@ components:
type: array
items:
$ref: "#/components/schemas/CimSubscription"
subscriptions.get.400:
Subscriptions.Get.400:
description: >
400 BAD REQUEST
......@@ -3201,7 +3201,7 @@ components:
schema:
$ref: "../components/SOL009_schemas.yaml#/components/schemas/ProblemDetails"
subscription.get.200:
Subscription.Get.200:
description: >
200 OK
......@@ -3227,7 +3227,7 @@ components:
application/json:
schema:
$ref: "#/components/schemas/CimSubscription"
subscription.delete.204:
Subscription.Delete.204:
description: >
204 NO CONTENT
......@@ -3249,7 +3249,7 @@ components:
schema:
type: string
change_state_ops.get.200:
ChangeStateOpOcc.Get.200:
description: >
200 OK
......@@ -3297,7 +3297,7 @@ components:
type: array
items:
$ref: "#/components/schemas/ChangeStateOpOcc"
change_state_ops.get.400:
ChangeStateOpOcc.Get.400:
description: >
400 BAD REQUEST
......@@ -3331,7 +3331,7 @@ components:
schema:
$ref: "../components/SOL009_schemas.yaml#/components/schemas/ProblemDetails"
change_state_op.get.200:
IndividualChangeStateOpOcc.Get.200:
description: >
200 OK
......@@ -3358,7 +3358,7 @@ components:
schema:
$ref: "#/components/schemas/ChangeStateOpOcc"
peer_entities.post.201:
PeerEntities.Post.201:
description: >
201 CREATED
......@@ -3396,7 +3396,7 @@ components:
application/json:
schema:
$ref: "#/components/schemas/PeerEntity"
peer_entities.get.200:
PeerEntities.Get.200:
description: >
200 OK
......@@ -3444,7 +3444,7 @@ components:
type: array
items:
$ref: "#/components/schemas/PeerEntity"
peer_entities.get.400:
PeerEntities.Get.400:
description: >
400 BAD REQUEST
......@@ -3478,7 +3478,7 @@ components:
schema:
$ref: "../components/SOL009_schemas.yaml#/components/schemas/ProblemDetails"
peer_entitie.get.200:
IndividualPeerEntity.Get.200:
description: >
200 OK
......@@ -3504,7 +3504,7 @@ components:
application/json:
schema:
$ref: "#/components/schemas/PeerEntity"
peer_entitie.patch.200:
IndividualPeerEntity.Patch.200:
description: >
200 OK
......@@ -3530,7 +3530,7 @@ components:
application/json:
schema:
$ref: "#/components/schemas/PeerEntityConfigModifications"
peer_entitie.patch.409:
IndividualPeerEntity.Patch.409:
description: >
409 CONFLICT.
......@@ -3559,7 +3559,7 @@ components:
application/json:
schema:
$ref: "../components/SOL009_schemas.yaml#/components/schemas/ProblemDetails"
peer_entitie.patch.412:
IndividualPeerEntity.Patch.412:
description: >
412 PRECONDITION FAILED
......@@ -3588,7 +3588,7 @@ components:
application/json:
schema:
$ref: "../components/SOL009_schemas.yaml#/components/schemas/ProblemDetails"
peer_entitie.delete.204:
IndividualPeerEntity.Delete.204:
description: >
204 NO CONTENT
......@@ -3609,7 +3609,7 @@ components:
Version of the API used in the response.
schema:
type: string
peer_entitie.delete.409:
IndividualPeerEntity.Delete.409:
description: >
409 CONFLICT.
......@@ -3638,7 +3638,7 @@ components:
application/json:
schema:
$ref: "../components/SOL009_schemas.yaml#/components/schemas/ProblemDetails"
peer_entitie.delete.412:
IndividualPeerEntity.Delete.412:
description: >
412 PRECONDITION FAILED
......
......@@ -46,7 +46,7 @@ paths:
$ref: "#/components/requestBodies/ConfigurationAnfInformationNotification"
responses:
"204":
$ref: "#/components/responses/notification.post.204"
$ref: "#/components/responses/Notification.Post.204"
"400":
$ref: ../components/SOL009_resp.yaml#/components/responses/400
"401":
......@@ -78,7 +78,7 @@ paths:
- $ref: "../components/SOL009_params.yaml#/components/parameters/Authorization"
responses:
"204":
$ref: "#/components/responses/notification.get.204"
$ref: "#/components/responses/Notification.Get.204"
"400":
$ref: ../components/SOL009_resp.yaml#/components/responses/400
"401":
......@@ -102,7 +102,7 @@ paths:
components:
responses:
notification.post.204:
Notification.Post.204:
description: >
204 NO CONTENT
......@@ -121,7 +121,7 @@ components:
schema:
type: string
notification.get.204:
Notification.Get.204:
description: >
204 NO CONTENT
......
......@@ -42,7 +42,7 @@ paths:
- $ref: "../components/SOL009_params.yaml#/components/parameters/nextpage_opaque_marker"
responses:
"200":
$ref: '#/components/responses/Alarms.Get'
$ref: '#/components/responses/Alarms.Get.200'
"400":
$ref: ../components/SOL009_resp.yaml#/components/responses/400
"401":
......@@ -75,7 +75,7 @@ paths:
- $ref: "../components/SOL009_params.yaml#/components/parameters/Authorization"
responses:
"200":
$ref: '#/components/responses/Alarm.Get'
$ref: '#/components/responses/Alarm.Get.200'
"400":
$ref: ../components/SOL009_resp.yaml#/components/responses/400
"401":
......@@ -108,7 +108,7 @@ paths:
$ref: "#/components/requestBodies/AlarmModifications"
responses:
"200":
$ref: '#/components/responses/Alarm.Patch'
$ref: '#/components/responses/Alarm.Patch.200'
"400":
$ref: ../components/SOL009_resp.yaml#/components/responses/400
"401":
......@@ -146,7 +146,7 @@ paths:
$ref: "#/components/requestBodies/FmSubscriptionRequest"
responses:
"201":
$ref: '#/components/responses/subscriptions.post.201'
$ref: '#/components/responses/Subscriptions.Post.201'
"303":
$ref: ../components/SOL009_resp.yaml#/components/responses/303
"400":
......@@ -182,7 +182,7 @@ paths:
- $ref: "../components/SOL009_params.yaml#/components/parameters/nextpage_opaque_marker"
responses:
"200":
$ref: '#/components/responses/subscriptions.get.200'
$ref: '#/components/responses/Subscriptions.Get.200'