Closed brettfazio closed 3 years ago
Perhaps we need to change our API spec. This is the only route that takes in an input parameter and is thus the only route that provides a codegen error.
The error provided by Xcode:
Value of type 'PlaidJWT' has no member 'encodeToJSON'
The line of codegen are here:
And the exact line causing the error is https://github.com/ucfinancegroup/FinchSwiftClient/blob/e2f6525189ec11db9f4f0239e43439d611a81167/OpenAPIClient/Classes/OpenAPIs/APIs/PlaidAPI.swift#L120
The swift client does not need to handle the webhook route. Only plaid uses that route. Comment out these parts of the spec for codegen of swift client.
https://github.com/ucfinancegroup/pfp/blob/d486356eacd433c0e9db111f2708b60e5925982a/postman/api.yaml#L731-L735