From e7855d34463430b293e480ec20a34b6e721fd570 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Sat, 27 Apr 2024 10:49:32 -0400 Subject: [PATCH] Poast param --- public/apidoc/digifi.json | 43 +++++++++++++++++++++++++++++++-------- 1 file changed, 34 insertions(+), 9 deletions(-) diff --git a/public/apidoc/digifi.json b/public/apidoc/digifi.json index 733c5eb..368f39f 100644 --- a/public/apidoc/digifi.json +++ b/public/apidoc/digifi.json @@ -15,17 +15,30 @@ "tags": [ "BVN" ], - "parameters": [ - { - "name": "bvn", - "in": "path", - "required": true, - "schema": { - "type": "string", - "nullable": true + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/BNV.RequestType" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/BNV.RequestType" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/BNV.RequestType" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/BNV.RequestType" + } } } - ], + }, "responses": { "200": { "description": "Success", @@ -299,6 +312,18 @@ }, "additionalProperties": false }, + "BNV.RequestType": { + "required": [ + "bvn" + ], + "type": "object", + "properties": { + "bvn": { + "type": "string" + } + }, + "additionalProperties": false + }, "BNV.Verify.ResponseType": { "type": "object", "properties": {