fc84db4881
This PR contains the work done to update the license to *Apache v2.0* and also, to update any file header and/or mention as necessary. Reviewed-on: #9 Co-authored-by: Javier Cicchelli <javier@rock-n-code.com> Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
26 lines
836 B
Swift
26 lines
836 B
Swift
// ===----------------------------------------------------------------------===
|
|
//
|
|
// This source file is part of the Marvel Service open source project
|
|
//
|
|
// Copyright (c) 2025 Röck+Cöde VoF. and the Marvel Service project authors
|
|
// Licensed under Apache license v2.0
|
|
//
|
|
// See LICENSE for license information
|
|
// See CONTRIBUTORS for the list of Marvel Service project authors
|
|
//
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
// ===----------------------------------------------------------------------===
|
|
|
|
extension String {
|
|
/// A namespace assigned for parameter keys of URI paths.
|
|
enum Parameter {
|
|
/// A Marvel API key parameter.
|
|
static let apiKey = "apikey"
|
|
/// A MD5 hash parameter.
|
|
static let hash = "hash"
|
|
/// A timestamp parameter.
|
|
static let timestamp = "ts"
|
|
}
|
|
}
|