fix: misplace required (PR review)

This commit is contained in:
indyandie 2024-03-06 22:27:43 -06:00
parent 7ecca700aa
commit 77a4570b15
No known key found for this signature in database
GPG key ID: FDB83C1AED3933E1

View file

@ -3228,8 +3228,8 @@ class MoveDetailSerializer(serializers.ModelSerializer):
@extend_schema_field(
field={
"type": "object",
"required": ["normal", "super"],
"properties": {
"required": ["normal", "super"],
"normal": {
"type": "object",
"required": ["use_before", "use_after"],