The endpoint PUT /api/owners/{ownerId}/pets/{petId} allows an owner to update a pet that does not belong to them.
Steps to reproduce:
- Use a valid ownerId
- Provide a petId that belongs to another owner
- Send update request
Actual:
The pet is updated successfully
Expected:
The update should be rejected (404 or 403)