api: docs: update v1.52 swagger with latest changes

follow-up to 48038347d7, which was
merged after the (not yet relased) v1.52 docs were created.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2025-08-23 00:05:19 +02:00
parent 41dd811926
commit eed354379c

View File

@@ -294,6 +294,11 @@ definitions:
description: "A request for devices to be sent to device drivers"
properties:
Driver:
description: |
The name of the device driver to use for this request.
Note that if this is specified the capabilities are ignored when
selecting a device driver.
type: "string"
example: "nvidia"
Count:
@@ -310,6 +315,12 @@ definitions:
Capabilities:
description: |
A list of capabilities; an OR list of AND lists of capabilities.
Note that if a driver is specified the capabilities have no effect on
selecting a driver as the driver name is used directly.
Note that if no driver is specified the capabilities are used to
select a driver with the required capabilities.
type: "array"
items:
type: "array"