Got an error compiling on official swift docker container via Ubuntu 16 and Swift 4.0.3:
Compile Swift Module 'SendGrid' (81 sources)
/root/DavisRealEstate/.build/checkouts/sendgrid-swift.git--6696960893670408330/Sources/SendGrid/Structs/EncodingStrategy.swift:47:36: error: type 'JSONEncoder.DataEncodingStrategy' has no member 'base64Encode'
public static let base64 = JSONEncoder.DataEncodingStrategy.base64Encode
^~~~~~~~ ~~~~
/root/DavisRealEstate/.build/checkouts/sendgrid-swift.git--6696960893670408330/Sources/SendGrid/Structs/DecodingStrategy.swift:48:36: error: type 'JSONDecoder.DataDecodingStrategy' has no member 'base64Decode'
public static let base64 = JSONDecoder.DataDecodingStrategy.base64Decode
Got an error compiling on official swift docker container via Ubuntu 16 and Swift 4.0.3:
Compile Swift Module 'SendGrid' (81 sources) /root/DavisRealEstate/.build/checkouts/sendgrid-swift.git--6696960893670408330/Sources/SendGrid/Structs/EncodingStrategy.swift:47:36: error: type 'JSONEncoder.DataEncodingStrategy' has no member 'base64Encode' public static let base64 = JSONEncoder.DataEncodingStrategy.base64Encode ^
~~~~~~~~~~~ /root/DavisRealEstate/.build/checkouts/sendgrid-swift.git--6696960893670408330/Sources/SendGrid/Structs/DecodingStrategy.swift:48:36: error: type 'JSONDecoder.DataDecodingStrategy' has no member 'base64Decode' public static let base64 = JSONDecoder.DataDecodingStrategy.base64DecodeMaybe related to this issue: https://github.com/swagger-api/swagger-codegen/issues/6483