Project

Profile

Help

Task #7546

Validate unknown fields

Added by lmjachky about 1 month ago.

Status:
NEW
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

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

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.

Please register to edit this issue

Also available in: Atom PDF