Skip to content

Conversation

@Dopeamin
Copy link
Contributor

  • Introduced new error response models: ErrorRsp, ErrorRspAllOfError, and ErrorRspAllOfErrorValidation to standardize error handling across the API.
  • Added GenericRsp model for consistent response structure.
  • Updated existing models to utilize the new Paging model for pagination.
  • Refactored API endpoints to return GenericRsp instead of specific response types, improving flexibility.
  • Consolidated common definitions into common.yml for better organization and maintainability.

- Introduced new error response models: `ErrorRsp`, `ErrorRspAllOfError`, and `ErrorRspAllOfErrorValidation` to standardize error handling across the API.
- Added `GenericRsp` model for consistent response structure.
- Updated existing models to utilize the new `Paging` model for pagination.
- Refactored API endpoints to return `GenericRsp` instead of specific response types, improving flexibility.
- Consolidated common definitions into `common.yml` for better organization and maintainability.
- Enhanced UserEntity to include 'updated' and 'updatedMs' attributes for better tracking of user data changes.
- Updated UserEntity to inherit from BaseModel instead of User.
- Added new fields: user_id, full_name, status, and explicit_webauthn_id for improved user representation.
- Removed outdated fields 'updated' and 'updatedMs' to streamline the model.
- Moved import statements for Pydantic to the top of the UserEntity file to enhance readability and maintainability.
@Dopeamin Dopeamin merged commit 41abcbc into main Sep 17, 2025
10 checks passed
@Dopeamin Dopeamin deleted the fix-tests branch September 17, 2025 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants