From c26eec289c4c3fe214d7cfbcb69f2185c0313f3c Mon Sep 17 00:00:00 2001 From: DanPlayz0 Date: Fri, 31 May 2024 00:45:42 -0700 Subject: [PATCH] GenericResponse Update (1.4.1) --- package.json | 2 +- src/documentation/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 0424ab9..64c8119 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dapir", - "version": "1.4.0", + "version": "1.4.1", "type": "module", "description": "An api wrapper", "source": "src/index.ts", diff --git a/src/documentation/index.ts b/src/documentation/index.ts index 93a1b87..a86d8f0 100644 --- a/src/documentation/index.ts +++ b/src/documentation/index.ts @@ -63,7 +63,7 @@ export default class Documentation { this.addSchema("GenericResponse", { type: "object", - required: ["success", "code", "status"], + required: ["error", "code", "status", "message"], properties: { error: { type: "boolean",