From 1470dbb033ec0ee97ce6ce80feeb6c22b7f55f98 Mon Sep 17 00:00:00 2001 From: Ivan Folgueira Bande Date: Fri, 17 May 2024 16:36:06 +0200 Subject: [PATCH] apitypes.yaml: standardize use CamelCase to the one we use in nwaku REST --- api-spec/schemas/apitypes.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/api-spec/schemas/apitypes.yaml b/api-spec/schemas/apitypes.yaml index 50f3ef0..5a7ccc6 100644 --- a/api-spec/schemas/apitypes.yaml +++ b/api-spec/schemas/apitypes.yaml @@ -131,34 +131,34 @@ WakuMessage: WakuMessageKeyValue: type: object properties: - message_hash: + messageHash: type: string message: $ref: '#/components/schemas/WakuMessage' required: - - message_hash + - messageHash - message StoreQueryResponse: type: object properties: - request_id: + requestId: type: string - status_code: + statusCode: type: integer format: uint32 - status_desc: + statusDesc: type: string messages: type: array items: $ref: '#/components/schemas/WakuMessageKeyValue' - pagination_cursor: + paginationCursor: type: string required: - - request_id - - status_code - - status_desc + - requestId + - statusCode + - statusDesc - messages PushRequest: @@ -210,7 +210,7 @@ StoreResponse: $ref: '#/WakuMessage' cursor: $ref: '#/HistoryCursor' - error_message: + errorMessage: type: string required: - messages