[Swift] fix(#18074): correctly map OpenAPIDateWithoutTime to string in path (#18077)

This commit is contained in:
Julian Kalinowski
2024-07-15 15:10:00 +02:00
committed by GitHub
parent 7f01a354a5
commit 304ff96577
20 changed files with 66 additions and 0 deletions

View File

@@ -61,6 +61,8 @@ public struct APIHelper {
return collection
.compactMap { value in convertAnyToString(value) }
.joined(separator: ",")
} else if let value = source as? any RawRepresentable {
return "\(value.rawValue)"
}
return source
}