yonaskolb / SwagGen

OpenAPI/Swagger 3.0 Parser and Swift code generator
MIT License
625 stars 147 forks source link

Warning in Coding.swift #126

Closed mackoj closed 5 years ago

mackoj commented 5 years ago

Can I submit a PR for fixing these ?

    - WARN  | [iOS] xcodebuild:  /XXXX//Coding.swift:262:117: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
    - NOTE  | [iOS] xcodebuild:  /XXXX//Coding.swift:262:141: note: use 'String(describing:)' to silence this warning
    - NOTE  | [iOS] xcodebuild:  /XXXX//Coding.swift:262:141: note: provide a default value to avoid this warning
yonaskolb commented 5 years ago

I believe this is fixed in master. Master actually has quite a lot of changes so it might be worth checking that out. Note though that it's Swagger 3 only.

But in general feel free to open any PRs 😄👍

mackoj commented 5 years ago

I can't try it for the moment because our swagger file is in swagger 2 format. I will work with the backend team to migrate to swagger 3 format and try.