You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduced the @CreatedResponseCode annotation to indicate successful resource creation in the API documentation for saveEquipment and saveExercise methods.
Changed
Corrected validation issues by removing the @NotNull annotation from the ID field in the ExerciseEntity class.
Updated the validation constraints for the name field in the ExerciseEntity and ExerciseRequestDTO classes to allow shorter names, changing the minimum length from 10 to 4 and the maximum length from 50 to 30.
Enhanced the ValidationExceptionHandler to include a handler for HttpMessageNotReadableException, providing a clear response when the request body cannot be deserialized.
Removed
Streamlined error handling by removing the ErrorResponseDTO class and replacing it with more standardized error responses.