[Step1|BE] Add presence validation to snippet rest api endpoints
We are going to remove the presence validation on the content
and file_name
fields at some point. Nevertheless, we should try to avoid unnecessary queries coming from the API if those contents are empty.
We need to add allow_blank: false
to the snippets (both project and personal) API rest endpoints.