From 0f935f5a4090620a8455498e69338d209de8023d Mon Sep 17 00:00:00 2001 From: Sergio Moya <1083296+smoya@users.noreply.github.com> Date: Wed, 26 Jul 2023 10:38:58 +0200 Subject: [PATCH] remove non-needed schemaFormat var passing --- src/models/v3/message.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/v3/message.ts b/src/models/v3/message.ts index fa90f270e..c7fce9f5d 100644 --- a/src/models/v3/message.ts +++ b/src/models/v3/message.ts @@ -25,7 +25,7 @@ export class Message extends MessageTrait implements MessageIn payload(): SchemaInterface | undefined { if (!this._json.payload) return undefined; - return this.createModel(Schema, this._json.payload, { pointer: this.jsonPath('payload'), schemaFormat: this._json.payload.schemaFormat }); + return this.createModel(Schema, this._json.payload, { pointer: this.jsonPath('payload')}); } servers(): ServersInterface {