b14a9fa816
This PR contains the work done to improve the documentation efforts in the package, aiming at improving the documentation of the source code as well as the OpenAPI specification document. In addition, a breaking bug has been fixed. Reviewed-on: #16 Co-authored-by: Javier Cicchelli <javier@rock-n-code.com> Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
34 lines
1.0 KiB
Swift
34 lines
1.0 KiB
Swift
// ===----------------------------------------------------------------------===
|
|
//
|
|
// This source file is part of the DiscogsService open source project
|
|
//
|
|
// Copyright (c) 2026 Röck+Cöde VoF. and the DiscogsService project authors
|
|
// Licensed under Apache license v2.0
|
|
//
|
|
// See LICENSE for license information
|
|
// See CONTRIBUTORS for the list of DiscogsService project authors
|
|
//
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
// ===----------------------------------------------------------------------===
|
|
|
|
extension String {
|
|
/// An empty string.
|
|
static let empty = ""
|
|
|
|
/// A namespace for the names of parameters.
|
|
enum Parameter {
|
|
/// A name for the consumer key.
|
|
static let key = "key"
|
|
/// A name for the consumer secret.
|
|
static let secret = "secret"
|
|
/// A name for the user token.
|
|
static let token = "token"
|
|
}
|
|
/// A namespace for the formats of string values.
|
|
enum Format {}
|
|
|
|
/// A namespace for the formats of regular expression patterns.
|
|
enum Pattern {}
|
|
}
|