Skip to content

Commit

Permalink
Fix L3-iGrant/api#551: While creating presentation definition, if fie…
Browse files Browse the repository at this point in the history
…lds array inside input descriptor is empty array, it doesn't validate
  • Loading branch information
albinpa authored and georgepadayatti committed Aug 21, 2024
1 parent 16ca26f commit bc8c65f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sdjwt/pex.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ class PresentationDefinition(BaseModel):
"fields": {
"type": "array",
"items": {"$ref": "#/definitions/field"},
"minItems": 1,
},
},
"required": ["fields"],
Expand Down

0 comments on commit bc8c65f

Please sign in to comment.