Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API typos #5709

Merged
merged 1 commit into from
May 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading