Skip to content
Snippets Groups Projects
Commit 72916187 authored by Johan de Klerk's avatar Johan de Klerk
Browse files

Merge branch 'main' of gitlab.bob.co.za:bob-public-utils/bobgroup-go-utils

parents d5a1f6ad 33d6f870
No related branches found
No related tags found
No related merge requests found
......@@ -194,14 +194,14 @@ type ApiLog struct {
}
type ApiLogRequest struct {
Headers map[string]string `json:"headers,omitempty"` // NOTE: Once we're on OpenSearch 2.7, we should add search:"flattened" here
QueryParameters map[string]string `json:"query_parameters,omitempty"`
Headers map[string]string `json:"headers,omitempty" search:"flattened"`
QueryParameters map[string]string `json:"query_parameters,omitempty" search:"flattened"`
BodySize int `json:"body_size" search:"long"` // set even when body is truncated/omitted
Body string `json:"body,omitempty"` // json body as a string
}
type ApiLogResponse struct {
Headers map[string]string `json:"headers,omitempty"` // NOTE: Once we're on OpenSearch 2.7, we should add search:"flattened" here
Headers map[string]string `json:"headers,omitempty" search:"flattened"`
BodySize int `json:"body_size"` // set even when body is truncated/omitted
Body string `json:"body,omitempty"` // json content as a string
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment