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": {