Skip to content

Commit

Permalink
Merge pull request #2451 from sicpa-dlab/chore/relax-connection-filter
Browse files Browse the repository at this point in the history
chore: relax connections filter DID format
  • Loading branch information
swcurran authored Aug 28, 2023
2 parents 416057c + c770505 commit 450c666
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions aries_cloudagent/protocols/connections/v1_0/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
INDY_RAW_PUBLIC_KEY_VALIDATE,
UUID4_EXAMPLE,
UUID4_VALIDATE,
GENERIC_DID_VALIDATE,
)
from ....storage.error import StorageError, StorageNotFoundError
from ....wallet.error import WalletError
Expand Down Expand Up @@ -248,7 +249,7 @@ class ConnectionsListQueryStringSchema(OpenAPISchema):
)
my_did = fields.Str(
required=False,
validate=INDY_DID_VALIDATE,
validate=GENERIC_DID_VALIDATE,
metadata={"description": "My DID", "example": INDY_DID_EXAMPLE},
)
state = fields.Str(
Expand All @@ -260,12 +261,12 @@ class ConnectionsListQueryStringSchema(OpenAPISchema):
)
their_did = fields.Str(
required=False,
validate=INDY_DID_VALIDATE,
validate=GENERIC_DID_VALIDATE,
metadata={"description": "Their DID", "example": INDY_DID_EXAMPLE},
)
their_public_did = fields.Str(
required=False,
validate=INDY_DID_VALIDATE,
validate=GENERIC_DID_VALIDATE,
metadata={"description": "Their Public DID", "example": INDY_DID_EXAMPLE},
)
their_role = fields.Str(
Expand Down

0 comments on commit 450c666

Please sign in to comment.