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:
1 parent
5d640e4457
commit
7dec38d74a
1 file changed
+7
-4
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user