Skip to content

Commit

Permalink
make external facing OpenAPI comments less language-specific
Browse files Browse the repository at this point in the history
  • Loading branch information
Nieuwejaar committed Nov 15, 2024
1 parent 7564440 commit 70389a0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions common/src/api/external/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2513,9 +2513,9 @@ pub struct SwitchPortLinkConfig {
/// The maximum transmission unit for this link.
pub mtu: u16,

/// The requested forward-error correction method. If this is None, the
/// standard FEC for the underlying media will be applied if it can be
/// determined.
/// The requested forward-error correction method. If this is not
/// specified, the standard FEC for the underlying media will be applied
/// if it can be determined.
pub fec: Option<LinkFec>,

/// The configured speed of the link.
Expand Down
6 changes: 3 additions & 3 deletions nexus/types/src/external_api/params.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1715,9 +1715,9 @@ pub struct LinkConfigCreate {
/// The link-layer discovery protocol (LLDP) configuration for the link.
pub lldp: LldpLinkConfigCreate,

/// The requested forward-error correction method. If this is None, the
/// standard FEC for the underlying media will be applied if it can be
/// determined.
/// The requested forward-error correction method. If this is not
/// specified, the standard FEC for the underlying media will be applied
/// if it can be determined.
pub fec: Option<LinkFec>,

/// The speed of the link.
Expand Down

0 comments on commit 70389a0

Please sign in to comment.