diff --git a/aries_cloudagent/anoncreds/routes.py b/aries_cloudagent/anoncreds/routes.py index a9f3b0c6f4..116bacd62c 100644 --- a/aries_cloudagent/anoncreds/routes.py +++ b/aries_cloudagent/anoncreds/routes.py @@ -130,11 +130,24 @@ class SchemaPostOptionSchema(OpenAPISchema): """Parameters and validators for schema options.""" endorser_connection_id = fields.Str( - description="Connection identifier (optional) (this is an example)", + description=""" + Connection identifier (optional) (this is an example) + You can set this is you know the endorsers connection id you want to use. + If not specified then the agent will attempt to find an endorser connection. + """, required=False, example=UUIDFour.EXAMPLE, ) + create_transaction_for_endorser = fields.Bool( + description=""" + Create transaction for endorser (optional, default false). + Use this for agents who don't specify an author role but want to + create a transaction for an endorser to sign.""", + required=False, + example=False, + ) + class SchemaPostRequestSchema(OpenAPISchema): """Parameters and validators for query string in create schema."""