File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 ENDPOINT ,
2424 ENDPOINT_TYPE ,
2525 INDY_DID ,
26- INDY_OR_KEY_DID ,
2726 INDY_RAW_PUBLIC_KEY ,
2827 GENERIC_DID ,
2928)
@@ -55,7 +54,7 @@ class WalletModuleResponseSchema(OpenAPISchema):
5554class DIDSchema (OpenAPISchema ):
5655 """Result schema for a DID."""
5756
58- did = fields .Str (description = "DID of interest" , ** INDY_OR_KEY_DID )
57+ did = fields .Str (description = "DID of interest" , ** GENERIC_DID )
5958 verkey = fields .Str (description = "Public verification key" , ** INDY_RAW_PUBLIC_KEY )
6059 posture = fields .Str (
6160 description = (
@@ -66,11 +65,7 @@ class DIDSchema(OpenAPISchema):
6665 ** DID_POSTURE ,
6766 )
6867 method = fields .Str (
69- description = "Did method associated with the DID" ,
70- example = SOV .method_name ,
71- validate = validate .OneOf (
72- [method .method_name for method in [SOV , KEY ]]
73- ), # TODO: support more methods
68+ description = "Did method associated with the DID" , example = SOV .method_name
7469 )
7570 key_type = fields .Str (
7671 description = "Key type associated with the DID" ,
You can’t perform that action at this time.
0 commit comments