diff --git a/.changeset/fix-server-object-missing-title-summary-1137.md b/.changeset/fix-server-object-missing-title-summary-1137.md new file mode 100644 index 000000000..dbffb25f0 --- /dev/null +++ b/.changeset/fix-server-object-missing-title-summary-1137.md @@ -0,0 +1,5 @@ +--- +"@asyncapi/parser": patch +--- + +fix: add missing `title` and `summary` fields to ServerObject in v3 spec types to align with the AsyncAPI 3.x specification. diff --git a/packages/parser/src/spec-types/v3.ts b/packages/parser/src/spec-types/v3.ts index 766df3bf9..c748d0d95 100644 --- a/packages/parser/src/spec-types/v3.ts +++ b/packages/parser/src/spec-types/v3.ts @@ -44,6 +44,8 @@ export interface ServerObject extends SpecificationExtensions { protocol: string; pathname?: string; protocolVersion?: string; + title?: string; + summary?: string; description?: string; variables?: Record; security?: Array;