There was an error while loading. Please reload this page.
1 parent ea94030 commit 0e667d0Copy full SHA for 0e667d0
build_path.go
@@ -305,9 +305,12 @@ func buildHeader(header restful.Header) spec.Header {
305
responseHeader := spec.Header{}
306
responseHeader.Type = header.Type
307
responseHeader.Description = header.Description
308
+responseHeader.Format = header.Format
309
+responseHeader.Default = header.Default
310
311
// If type is "array" items field is required
312
if header.Type == arrayType {
313
+responseHeader.CollectionFormat = header.CollectionFormat
314
responseHeader.Items = buildHeadersItems(header.Items)
315
}
316
0 commit comments