From f95f001b8bc19ec0697f47bff4a0a0b7c2ce5c4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arpad=20M=C3=BCller?= Date: Thu, 9 Nov 2023 17:12:18 +0100 Subject: [PATCH] Lsn for get_timestamp_of_lsn should be string, not integer (#5840) The `get_timestamp_of_lsn` pageserver endpoint has been added in #5497, but the yml it added was wrong: the lsn is expected in hex format, not in integer (decimal) format. --- pageserver/src/http/openapi_spec.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pageserver/src/http/openapi_spec.yml b/pageserver/src/http/openapi_spec.yml index 9bff0fd668..4d455243f0 100644 --- a/pageserver/src/http/openapi_spec.yml +++ b/pageserver/src/http/openapi_spec.yml @@ -352,7 +352,8 @@ paths: in: query required: true schema: - type: integer + type: string + format: hex description: A LSN to get the timestamp responses: "200":