OlhenShu / GreenCityProjectStage

0 stars 0 forks source link

[POST /user/search] In /user/search response 500 Internal Server Error - need 400 Bad request #283

Open OlhenShu opened 11 months ago

OlhenShu commented 11 months ago

Environment: Firefox 116.0.3 (64-bit). Reproducible: always.

Preconditions Sign-in as Admin Moved to Swagger http://localhost:8065/swagger-ui.html#/

Steps to reproduce

  1. Click on User controller
  2. Click on POST /user/search
  3. Click on 'Try out'
  4. Enter invalid data

Actual result Response 500 Internal Server Error

Expected result Response 400 Bad request