peviitor-ro / api

code for api.peviitor.ro
https://api.peviitor.ro/
3 stars 2 forks source link

wrong response for v0/search endpoint on swagger ui #286

Closed DeedeeDL closed 1 month ago

DeedeeDL commented 1 month ago

ENVIROMENT: local swagger URL: http://localhost:8080/swagger-ui/#/ Browser: Chrome Device: PC OS: Windows 10

STEPS TO REPRODUCE:

Open URL in browser Open "/search" endpoint. Click on Try it out . Go on q string on Parameters and type any wrong text, as "abc233" Click on "Execute" Verify the response body.

Expected results: With a wrong text typed in the "q strring" parameters text input the response should be 400 or whatever error message which should said for example "not found"

Actual results: In the responses there is a 200 server response and no error message.

ale23yfm commented 1 month ago

@DeedeeDL can you review this please?

DeedeeDL commented 1 month ago

Retested. Pass