[swift][client] update migration docs (#21151)

This commit is contained in:
Bruno Coelho 2025-04-26 15:14:37 +01:00 committed by GitHub
parent 1c62f839c5
commit e3db6a6257
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -494,6 +494,8 @@ Here is a working sample that put's together all of this.
- The default project structure now follows the SPM (Swift Package Manager) structure. To revert to the old structure, set the `useSPMFileStructure` flag to `false`.
- The former `{{projectName}}API` is now called `{{projectName}}APIConfiguration`.
- You can now set a request interceptor and retrier by configuring `OpenAPIClient.shared.interceptor`, making authenticated requests easier to manage.
- The protocol `JSONEncodable` was renamed to `ParameterConvertible`.
- The flag `useJSONEncodable` was renamed to `useParameterConvertible`.
## TypeScript