Skip to content

Commit

Permalink
Fixed the public scope of the static parameter and static function of…
Browse files Browse the repository at this point in the history
… `Scheme` components (#32)
  • Loading branch information
devyhan authored Dec 21, 2022
1 parent 1736274 commit 648342d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Sources/APIRouter/URLBuilder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,15 @@ public extension URL {
public struct Scheme: HttpUrlProtocol {
private let scheme: URLScheme

static let http = Self(.http)
public static let http = Self(.http)

static let https = Self(.https)
public static let https = Self(.https)

static let mqtt = Self(.mqtt)
public static let mqtt = Self(.mqtt)

static let mqtts = Self(.mqtts)
public static let mqtts = Self(.mqtts)

static func custom(_ value: String) -> Self {
public static func custom(_ value: String) -> Self {
Self(.custom(value))
}

Expand Down

0 comments on commit 648342d

Please sign in to comment.