File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Sources/OpenAPIKit/Document Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ extension OpenAPI {
173173
174174extension OpenAPI . Document : Equatable {
175175 public static func == ( lhs: Self , rhs: Self ) -> Bool {
176- lhs. openAPIVersion == rhs. openAPIVersion
176+ return lhs. openAPIVersion == rhs. openAPIVersion
177177 && lhs. info == rhs. info
178178 && lhs. servers == rhs. servers
179179 && lhs. paths == rhs. paths
@@ -413,7 +413,7 @@ extension OpenAPI.Document {
413413/// prior to OpenAPIKit gaining official support for the new version and its
414414/// features.
415415public enum DocumentConfiguration {
416- public static let versionMapKey : CodingUserInfoKey = . init ( rawValue: " document-version-map " ) !
416+ public static let versionMapKey = CodingUserInfoKey ( rawValue: " document-version-map " ) !
417417
418418 internal static func version( for decoder: Decoder , versionString: String ) -> OpenAPI . Document . Version ? {
419419 guard let map = decoder. userInfo [ versionMapKey] as? [ String : OpenAPI . Document . Version ]
You can’t perform that action at this time.
0 commit comments