Skip to content

Commit

Permalink
🐛 fix #3086 by removing metadata and regenerate openapi specs
Browse files Browse the repository at this point in the history
Signed-off-by: ff137 <[email protected]>
  • Loading branch information
ff137 committed Jul 8, 2024
1 parent 25688eb commit 0394f27
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 deletions.
4 changes: 1 addition & 3 deletions aries_cloudagent/indy/models/cred.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,7 @@ def __init__(self, **kwargs):
"""Initialize the custom schema for a dictionary with IndyAttrValue."""
super().__init__(
keys=fields.Str(metadata={"description": "Attribute name"}),
values=fields.Nested(
IndyAttrValueSchema(), metadata={"description": "Attribute value"}
),
values=fields.Nested(IndyAttrValueSchema()),
**kwargs,
)

Expand Down
6 changes: 1 addition & 5 deletions open-api/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -9861,11 +9861,7 @@
},
"values" : {
"additionalProperties" : {
"allOf" : [ {
"$ref" : "#/definitions/IndyAttrValue"
} ],
"description" : "Attribute value",
"type" : "object"
"$ref" : "#/components/schemas/IndyAttrValue"
},
"description" : "Credential attributes",
"type" : "object"
Expand Down
6 changes: 1 addition & 5 deletions open-api/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -8454,11 +8454,7 @@
"type" : "object",
"description" : "Credential attributes",
"additionalProperties" : {
"type" : "object",
"description" : "Attribute value",
"allOf" : [ {
"$ref" : "#/definitions/IndyAttrValue"
} ]
"$ref" : "#/definitions/IndyAttrValue"
}
},
"witness" : {
Expand Down

0 comments on commit 0394f27

Please sign in to comment.