From 10ffb4636b45f2a5d7fbc866dda1e13db3a9c283 Mon Sep 17 00:00:00 2001 From: Lorna Jane Mitchell Date: Wed, 6 Sep 2023 17:06:40 +0100 Subject: [PATCH] chore: fix header format in gitter example (#965) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Fran Méndez --- examples/gitter-streaming.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/examples/gitter-streaming.yml b/examples/gitter-streaming.yml index 444bc9b81..b1dd57b29 100644 --- a/examples/gitter-streaming.yml +++ b/examples/gitter-streaming.yml @@ -160,5 +160,9 @@ components: streamingHeaders: http: headers: - 'Transfer-Encoding': 'chunked' - Trailer: '\r\n' + type: object + properties: + 'Transfer-Encoding': + const: 'chunked' + Trailer: + const: '\r\n'