Swagger-codegen: NSURLSession HTTP Load Failed with unsecured Domain

Created on 16 Nov 2017  路  1Comment  路  Source: swagger-api/swagger-codegen

I am using swagger for api request response in swift.But whenever I called with unsecure domain,api fails. ex api "https://192.168.0.151:8081/api/events" .. I think I have to get URLCredential ,but how?

I am using 3.0.5

Swift Question

Most helpful comment

Which version of Swift? The latest master supports Swift 1.x, 3.x and 4.x.

SNAPSHOT version of the latest master can be found in the project README.

>All comments

Which version of Swift? The latest master supports Swift 1.x, 3.x and 4.x.

SNAPSHOT version of the latest master can be found in the project README.

Was this page helpful?
0 / 5 - 0 ratings