Skip to content

Commit

Permalink
remove deprecated misspelled builtin validations
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpolzin committed Oct 13, 2024
1 parent c76e824 commit 3a2e80e
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions Sources/OpenAPIKit/Validator/Validation+Builtins.swift
Original file line number Diff line number Diff line change
Expand Up @@ -444,16 +444,6 @@ extension Validation {
}
)
}

/// Validate that `enum` must not be empty in the document's
/// Server Variable.
///
/// - Important: This is included in validation by default.
///
@available(*, deprecated, renamed: "serverVariableEnumIsValid")
public static var serverVarialbeEnumIsValid: Validation<OpenAPI.Server.Variable> {
return serverVariableEnumIsValid
}

/// Validate that `default` must exist in the enum values in the document's
/// Server Variable, if such values (enum) are defined.
Expand All @@ -469,16 +459,6 @@ extension Validation {
}
)
}

/// Validate that `default` must exist in the enum values in the document's
/// Server Variable, if such values (enum) are defined.
///
/// - Important: This is included in validation by default.
///
@available(*, deprecated, renamed: "serverVariableDefaultExistsInEnum")
public static var serverVarialbeDefaultExistsInEnum : Validation<OpenAPI.Server.Variable> {
return serverVariableDefaultExistsInEnum
}
}

/// Used by both the Path Item parameter check and the
Expand Down

0 comments on commit 3a2e80e

Please sign in to comment.