yonaskolb / SwagGen

OpenAPI/Swagger 3.0 Parser and Swift code generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

warning: keyword 'where' does not need to be escaped in argument list

mackoj opened this issue · comments

Hi I have a few of these should I submit a PR to fix this warning ?

Yes, you're welcome to submit a PR for this. It's tricky because where needs to be escaped in some cases, just not argument lists. The same goes for lots of other names that are listed in SwiftFormatter This could perhaps be fixed by escaping params in the actual template via a Stencil filter but that's more maintenance, or do you have another solution?