fix(api): device route summaries fit the OpenAPI rule

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
This commit is contained in:
Sharang ParnerkarandClaude Opus 5.5 committed 2026-11-28 12:28:15 +01:00
1 parent ea9ac9d6b2
commit 5800e0fab3
1 file changed
+7 -4
+7 -4
View File
@@ -51,8 +51,9 @@ fn checks(devices: Vec<PlcDevice>, advisories: &[Advisory]) -> Vec<DeviceCheck>
.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",