Implemented the User Agent middleware #6

Merged
javier merged 23 commits from library/user-agent-middleware into main 2025-10-13 00:54:21 +00:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 0d78b9a6df - Show all commits
@@ -13,7 +13,7 @@
// ===----------------------------------------------------------------------=== // ===----------------------------------------------------------------------===
/// A representation of all the possible validation error that could be thrown while validating an input. /// A representation of all the possible validation error that could be thrown while validating an input.
enum InputValidationError: Error { public enum InputValidationError: Error {
/// An input is empty. /// An input is empty.
case inputIsEmpty case inputIsEmpty
/// An input is nil. /// An input is nil.
@@ -33,8 +33,8 @@ public struct Product: Sendable {
/// Initializes this model. /// Initializes this model.
/// - Parameters: /// - Parameters:
/// - name: A camel-cased name of a product. /// - name: A camel-cased name of a product.
/// - version: A URI link related to a product. /// - version: A semantic version of a product.
/// - url: A semantic version of a product. /// - url: A URI link related to a product.
public init( public init(
name: String, name: String,
version: String, version: String,