Skip to content

Commit cd6d7fb

Browse files
committed
Remove no_hdr from direct get
Signed-off-by: R.I.Pienaar <[email protected]>
1 parent 2d2eb67 commit cd6d7fb

File tree

3 files changed

+0
-10
lines changed

3 files changed

+0
-10
lines changed

api/streams.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,6 @@ type JSApiMsgGetRequest struct {
240240
UpToSeq uint64 `json:"up_to_seq,omitempty"`
241241
// Only return messages up to this time.
242242
UpToTime *time.Time `json:"up_to_time,omitempty"`
243-
// Only return the message payload, excluding headers if present.
244-
NoHeaders bool `json:"no_hdr,omitempty"`
245243
}
246244

247245
// io.nats.jetstream.api.v1.stream_snapshot_response

schema_source/jetstream/api/v1/stream_msg_get_request.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,6 @@
4343
"up_to_time": {
4444
"description": "Only return messages up to a point in time",
4545
"$ref": "definitions.json#/definitions/golang_time"
46-
},
47-
"no_hdr": {
48-
"description": "Returns only the message body",
49-
"type": "boolean"
5046
}
5147
}
5248
}

schemas/jetstream/api/v1/stream_msg_get_request.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,6 @@
4747
"$comment": "A point in time in RFC3339 format including timezone, though typically in UTC",
4848
"type": "string",
4949
"format": "date-time"
50-
},
51-
"no_hdr": {
52-
"description": "Returns only the message body",
53-
"type": "boolean"
5450
}
5551
}
5652
}

0 commit comments

Comments
 (0)