systemd · API Governance Rules
systemd API Rules
Spectral linting rules defining API design standards and conventions for systemd.
8 Rules
error 3
warn 4
Rule Categories
systemd
Rules
error
systemd-operationid-pascalcase
operationId must use PascalCase, matching the D-Bus method name (e.g. StartUnit, ListSessions, SetLinkDNS).
$.paths[*][*]
warn
systemd-summary-title-case
Operation summaries must be in Title Case.
$.paths[*][*].summary
error
systemd-summary-required
Every operation must declare a summary.
$.paths[*][*]
warn
systemd-description-required
Every operation must declare a description that names the underlying D-Bus or Varlink method (use the word "Mirrors" for D-Bus, "Calls" for Varlink).
$.paths[*][*]
error
systemd-server-transport
Server URL must use one of the systemd transport schemes (dbus://, varlink://).
$.servers[*].url
warn
systemd-tags-title-case
Tag names must be in Title Case (matching the network-wide convention).
$.tags[*].name
hint
systemd-info-contact
info.contact should be present for traceability.
$.info
warn
systemd-license-lgpl-or-gpl
License must be LGPL-2.1-or-later or GPL-2.0-or-later (systemd's dual licensing).
$.info.license.name