yaml: format with prettier
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I193f690f3612fe72ec69030f81f4d5096a761601
diff --git a/yaml/org/open_power/OCC/PassThrough.interface.yaml b/yaml/org/open_power/OCC/PassThrough.interface.yaml
index 99ed8a2..1a4ef66 100644
--- a/yaml/org/open_power/OCC/PassThrough.interface.yaml
+++ b/yaml/org/open_power/OCC/PassThrough.interface.yaml
@@ -5,41 +5,40 @@
description: >
Pass through a command to the OCC.
parameters:
- - name: command
- # TODO via https://github.com/openbmc/openbmc/issues/1160. This should
- # change to array[byte]. As of now, the REST server maps any numeric
- # data to int32.
- type: array[int32]
- description: >
- An array of integers representing the command and payload. This
- should still be bytes worth of data (as though using array[byte]),
- so each entry in the array should pack as many bytes as possible.
+ - name: command
+ # TODO via https://github.com/openbmc/openbmc/issues/1160. This should
+ # change to array[byte]. As of now, the REST server maps any numeric
+ # data to int32.
+ type: array[int32]
+ description: >
+ An array of integers representing the command and payload. This
+ should still be bytes worth of data (as though using array[byte]),
+ so each entry in the array should pack as many bytes as possible.
returns:
- - name: response
- # TODO via https://github.com/openbmc/openbmc/issues/1160. This should
- # change to array[byte]. As of now, the REST server maps any numeric
- # data to int32.
- type: array[int32]
- description: >
- An array of integers representing the response. This
- should still be bytes worth of data (as though using array[byte]),
- so each entry in the array should pack as many bytes as possible.
+ - name: response
+ # TODO via https://github.com/openbmc/openbmc/issues/1160. This should
+ # change to array[byte]. As of now, the REST server maps any numeric
+ # data to int32.
+ type: array[int32]
+ description: >
+ An array of integers representing the response. This
+ should still be bytes worth of data (as though using array[byte]),
+ so each entry in the array should pack as many bytes as possible.
- name: SetMode
description: >
Change the power mode of the system.
parameters:
- - name: mode
- type: byte
- description: >
- Desired power mode of the system.
- - name: frequencyPoint
- type: uint16
- description: >
- Frequency point required by some power modes.
+ - name: mode
+ type: byte
+ description: >
+ Desired power mode of the system.
+ - name: frequencyPoint
+ type: uint16
+ description: >
+ Frequency point required by some power modes.
returns:
- - name: status
- type: boolean
- description: >
- Returns true if the mode change was accepted.
-
+ - name: status
+ type: boolean
+ description: >
+ Returns true if the mode change was accepted.