apitypes.yaml: standardize use CamelCase to the one we use in nwaku REST

This commit is contained in:
Ivan Folgueira Bande 2024-05-17 16:36:06 +02:00
parent d576ea54ca
commit 1470dbb033
No known key found for this signature in database
GPG Key ID: 3C117481F89E24A7
1 changed files with 10 additions and 10 deletions

View File

@ -131,34 +131,34 @@ WakuMessage:
WakuMessageKeyValue: WakuMessageKeyValue:
type: object type: object
properties: properties:
message_hash: messageHash:
type: string type: string
message: message:
$ref: '#/components/schemas/WakuMessage' $ref: '#/components/schemas/WakuMessage'
required: required:
- message_hash - messageHash
- message - message
StoreQueryResponse: StoreQueryResponse:
type: object type: object
properties: properties:
request_id: requestId:
type: string type: string
status_code: statusCode:
type: integer type: integer
format: uint32 format: uint32
status_desc: statusDesc:
type: string type: string
messages: messages:
type: array type: array
items: items:
$ref: '#/components/schemas/WakuMessageKeyValue' $ref: '#/components/schemas/WakuMessageKeyValue'
pagination_cursor: paginationCursor:
type: string type: string
required: required:
- request_id - requestId
- status_code - statusCode
- status_desc - statusDesc
- messages - messages
PushRequest: PushRequest:
@ -210,7 +210,7 @@ StoreResponse:
$ref: '#/WakuMessage' $ref: '#/WakuMessage'
cursor: cursor:
$ref: '#/HistoryCursor' $ref: '#/HistoryCursor'
error_message: errorMessage:
type: string type: string
required: required:
- messages - messages