swagger-api/swagger-petstore

`status` parameter in `/pet/findByStatus` doesn't have default

Opened this issue · 1 comments

Currently, it says: default: available

But in fact, no default value is used. The parameter has to be supplied: Request failed with status code 400: No status provided. Try again?

Снимок экрана 2024-04-10 в 20 51 17 Снимок экрана 2024-04-10 в 21 01 03 Your remark is not entirely justified, since the "available" status is needed to generate a trial request in swagger. For example, I replaced the default status with "sold". If there is no transmitted status in the request body, then the response with the code 400 is considered correct. it makes no sense to edit something in the code.