From 541e3da66fa618678fc5dcab7a13624c273f3f39 Mon Sep 17 00:00:00 2001 From: armorbreak001 Date: Wed, 22 Apr 2026 11:24:22 +0800 Subject: [PATCH] fix(types): add missing title and summary fields to v3 ServerObject (#1137) According to the AsyncAPI 3.0.0 specification, the Server Object should include optional 'title' and 'summary' string fields: https://www.asyncapi.com/docs/reference/specification/v3.0.0#serverObject These were missing from the TypeScript type definition, causing type errors when parsing valid AsyncAPI 3.0 documents that include these fields. --- packages/parser/src/spec-types/v3.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/parser/src/spec-types/v3.ts b/packages/parser/src/spec-types/v3.ts index 766df3bf9..6770443e4 100644 --- a/packages/parser/src/spec-types/v3.ts +++ b/packages/parser/src/spec-types/v3.ts @@ -42,6 +42,8 @@ export type ServersObject = Record; export interface ServerObject extends SpecificationExtensions { host: string; protocol: string; + title?: string; + summary?: string; pathname?: string; protocolVersion?: string; description?: string;