Project

Profile

Help

Task #7546

Updated by pulpbot over 2 years ago

 

 **Ticket moved to GitHub**: "pulp/pulp_container/475":https://github.com/pulp/pulp_container/issues/475 




 ---- 


 At the moment, we do not validate unknown fields in serializers. For example, this call is executed without any errors: 

 ~~~ text 
 http :24817/pulp/api/v3/repositories/container/container/bb221b58-bcfa-45ae-96ea-363ca381da47/tag/ tag="tag" digest=$MANIFEST_DIGEST blabla="halabala" 
 ~~~ 

 I propose to add the validation by leveraging `pulpcore.plugin.serializers.ValidateFieldsMixin`. 

Back