Closed steFue closed 5 months ago
Tested all methods: Create, delete, get all favorites. They work fine. I am not sure on the paths set on the controllers, but I think it can be addressed later if needed.
There is some sort of proper response to user(Postman response) in errors regarding username which is good. However there is none for advertisement IDs as it will only show the authentication message. Again this doesn't need to be addressed now.
Regarding your question on why you see the referenced documents. It happens because you send the Advertisement model as response. You would need to use a DTO in order to not show the documents.
Pictures of how to type in postman with examples and testing. Noted when retriving all favorites i get the information about the owners informations aswell. Not sure if we need to handel that issues right now.
![Get all favorites](https://github.com/gholamimohsen/StilGalleriet/assets/144946649/3eed8628-7f08-4ce6-af44-096aaaecda99)