Skip to content

Commit

Permalink
remove non-needed schemaFormat var passing
Browse files Browse the repository at this point in the history
  • Loading branch information
smoya committed Jul 26, 2023
1 parent 4bb4918 commit 0f935f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/v3/message.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export class Message extends MessageTrait<v3.MessageObject> 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 {
Expand Down

0 comments on commit 0f935f5

Please sign in to comment.