From 79efded4b512e14ef2b27afdbf25e05e28a7cddf Mon Sep 17 00:00:00 2001 From: jamshale Date: Thu, 9 Nov 2023 10:00:02 -0800 Subject: [PATCH] Remove null pointer in oca plugin schema Signed-off-by: jamshale --- .../traction_innkeeper/traction_innkeeper/v1_0/oca/routes.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/traction_innkeeper/traction_innkeeper/v1_0/oca/routes.py b/plugins/traction_innkeeper/traction_innkeeper/v1_0/oca/routes.py index a67cf2e04..ba0c7ebe6 100644 --- a/plugins/traction_innkeeper/traction_innkeeper/v1_0/oca/routes.py +++ b/plugins/traction_innkeeper/traction_innkeeper/v1_0/oca/routes.py @@ -56,7 +56,9 @@ async def wrapper(request): class OcaRecordListQueryStringSchema(OpenAPISchema): cred_def_id = fields.Str( - required=False, description="Cred Def identifier", **INDY_CRED_DEF_ID + required=False, description="Cred Def identifier", + example=INDY_CRED_DEF_ID_EXAMPLE, + validate=INDY_CRED_DEF_ID_VALIDATE )