Skip to content

v1.1.0

Choose a tag to compare

@ReturDev ReturDev released this 28 Oct 13:51
· 4 commits to main since this release

Added

  • 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.