yonaskolb / SwagGen

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

RequestAuthorizer mentioned in readme doesn't exist #150

Open chaseacton opened 5 years ago

chaseacton commented 5 years ago

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?

yonaskolb commented 5 years ago

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