Skip to content

Commit 47d07ac

Browse files
dont omit empty headers
1 parent a82c6ab commit 47d07ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

syntheticsclientv2/common_models.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ type HttpCheckV2Response struct {
284284
Authentication *Authentication `json:"authentication"`
285285
UserAgent *string `json:"userAgent"`
286286
Verifycertificates bool `json:"verifyCertificates"`
287-
HttpHeaders []HttpHeaders `json:"headers,omitempty"`
287+
HttpHeaders []HttpHeaders `json:"headers"`
288288
Validations []Validations `json:"validations"`
289289
} `json:"test"`
290290
}
@@ -303,7 +303,7 @@ type HttpCheckV2Input struct {
303303
Authentication *Authentication `json:"authentication"`
304304
UserAgent *string `json:"userAgent"`
305305
Verifycertificates bool `json:"verifyCertificates"`
306-
HttpHeaders []HttpHeaders `json:"headers,omitempty"`
306+
HttpHeaders []HttpHeaders `json:"headers"`
307307
Validations []Validations `json:"validations"`
308308
} `json:"test"`
309309
}

0 commit comments

Comments
 (0)