yonaskolb / SwagGen

OpenAPI/Swagger 3.0 Parser and Swift code generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RequestAuthorizer mentioned in readme doesn't exist

chaseacton opened this issue · comments

commented

I see RequestAuthorizer mentioned in the generated readme at https://github.com/yonaskolb/SwagGen/blob/master/Templates/Swift/README.md, however it doesn't actually exist in the generated code. Is the readme just out of date?

The readme is indeed out of date. The RequestAuthorizer has been replaced with RequestBehaviour.validate which allows you to do the same thing - asynchronously modify the request or fail