diff --git a/compliance-agent/src/api/handlers/devices.rs b/compliance-agent/src/api/handlers/devices.rs index 04cd78d..72e273e 100644 --- a/compliance-agent/src/api/handlers/devices.rs +++ b/compliance-agent/src/api/handlers/devices.rs @@ -51,8 +51,9 @@ fn checks(devices: Vec, advisories: &[Advisory]) -> Vec .collect() } -/// The Siemens controllers target `id` runs on, each with the advisories -/// naming it. +/// The Siemens controllers a target runs on. +/// +/// Each with the Siemens advisories naming it. #[utoipa::path( get, path = "/api/v1/targets/{id}/devices", @@ -107,8 +108,10 @@ pub struct LookupParams { pub order_number: String, } -/// What Siemens' advisories know of an order number, to recognise it while -/// it is typed. Public data only: nothing of the tenant is read. +/// What Siemens' advisories know of an order number. +/// +/// For recognising one while it is typed. Public data only: nothing of the +/// tenant is read. #[utoipa::path( get, path = "/api/v1/devices/lookup",