Skip to content

Commit

Permalink
API typos (#5709)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahl authored May 6, 2024
1 parent 371a813 commit 62c85a7
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 @@ -2579,7 +2579,7 @@ pub enum LinkSpeed {
#[derive(Copy, Clone, Debug, Deserialize, Serialize, JsonSchema, PartialEq)]
#[serde(rename_all = "snake_case")]
pub enum LinkFec {
/// Firecode foward error correction.
/// Firecode forward error correction.
Firecode,
/// No forward error correction.
None,
Expand Down Expand Up @@ -2931,7 +2931,7 @@ impl JsonSchema for SwitchLinkState {
#[derive(Clone, Debug, Deserialize, JsonSchema, Serialize, PartialEq)]
#[serde(rename_all = "snake_case")]
pub enum BgpPeerState {
/// Initial state. Refuse all incomming BGP connections. No resources
/// Initial state. Refuse all incoming BGP connections. No resources
/// allocated to peer.
Idle,

Expand All @@ -2950,7 +2950,7 @@ pub enum BgpPeerState {
/// Synchronizing with peer.
SessionSetup,

/// Session established. Able to exchange update, notification and keepliave
/// Session established. Able to exchange update, notification and keepalive
/// messages with peers.
Established,
}
Expand Down
6 changes: 3 additions & 3 deletions openapi/nexus.json
Original file line number Diff line number Diff line change
Expand Up @@ -9936,7 +9936,7 @@
"description": "The current state of a BGP peer.",
"oneOf": [
{
"description": "Initial state. Refuse all incomming BGP connections. No resources allocated to peer.",
"description": "Initial state. Refuse all incoming BGP connections. No resources allocated to peer.",
"type": "string",
"enum": [
"idle"
Expand Down Expand Up @@ -9978,7 +9978,7 @@
]
},
{
"description": "Session established. Able to exchange update, notification and keepliave messages with peers.",
"description": "Session established. Able to exchange update, notification and keepalive messages with peers.",
"type": "string",
"enum": [
"established"
Expand Down Expand Up @@ -14730,7 +14730,7 @@
"description": "The forward error correction mode of a link.",
"oneOf": [
{
"description": "Firecode foward error correction.",
"description": "Firecode forward error correction.",
"type": "string",
"enum": [
"firecode"
Expand Down

0 comments on commit 62c85a7

Please sign in to comment.