apitypes.yaml: standardize use CamelCase to the one we use in nwaku REST
This commit is contained in:
parent
d576ea54ca
commit
1470dbb033
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue