hyperswitch
hyperswitch copied to clipboard
feat: Extend Smithy Framework to Customers Update
Type of Change
- [ ] Bugfix
- [x] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD
Description
Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables
Motivation and Context
How did you test it?
Checklist
- [ ] I formatted the code
cargo +nightly fmt --all - [ ] I addressed lints thrown by
cargo clippy - [ ] I reviewed the submitted code
- [ ] I added unit tests for my changes where possible
- Fixes #9481
You are not supposed to create new CustomerUpdateRequest and CustomerUpdateResponse types. These types are already defined in api_models::customers (CustomerUpdateRequest and CustomerResponse), you just need to extend the smithy based annotations to these types.