openBackhaul / AirInterfacePowerSaver

Pranay's first Application on the MW SDN Controller
Apache License 2.0
1 stars 1 forks source link

OAS : description of callbacks needs a minor update #73

Closed IswaryaaS closed 4 months ago

IswaryaaS commented 7 months ago

In OAS, /v1/switch-redundant-transmitter-pair-off :: callbacks :: SwitchBothTransmittersOn :: description, we have the following

'To be executed on all link end points, if at least one of {$RequestForSwitchingRedundantTransmitterPairOffInitiatesTransaction.SwitchBothTransmittersOff.response.body#response-code} != 200'

here, since the response-code of PUT SwitchBothTransmittersOff shall be expected to be 204, can we update the response-code validation in this line 1196 as "204" instead of "200". So, the description will become,

'To be executed on all link end points, if at least one of {$RequestForSwitchingRedundantTransmitterPairOffInitiatesTransaction.SwitchBothTransmittersOff.response.body#response-code} != 204'

Similarly, in /v1/reactivate-transmitters-of-link :: callbacks :: SwitchBothTransmittersOff :: description shall be updated with validating response-code as "204" instead of "200"