Skip to content

Commit 89b85bc

Browse files
Update src/ByteBard.AsyncAPI/Models/AsyncApiChannel.cs
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Signed-off-by: Alex Wichmann <VisualBean@users.noreply.github.com>
1 parent a7cc8b7 commit 89b85bc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/ByteBard.AsyncAPI/Models/AsyncApiChannel.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ public virtual void SerializeV3(IAsyncApiWriter writer)
144144
}
145145

146146
writer.WriteOptionalCollection(AsyncApiConstants.Tags, this.Tags, (w, t) => t.SerializeV3(w));
147-
writer.WriteOptionalObject(AsyncApiConstants.ExternalDocs, this.ExternalDocs, (w, s) => s.SerializeV2(w));
148-
writer.WriteOptionalObject(AsyncApiConstants.Bindings, this.Bindings, (w, t) => t.SerializeV2(w));
147+
writer.WriteOptionalObject(AsyncApiConstants.ExternalDocs, this.ExternalDocs, (w, s) => s.SerializeV3(w));
148+
writer.WriteOptionalObject(AsyncApiConstants.Bindings, this.Bindings, (w, t) => t.SerializeV3(w));
149149
writer.WriteExtensions(this.Extensions);
150150

151151
writer.WriteEndObject();

0 commit comments

Comments
 (0)