Skip to content

Commit 35dc6ac

Browse files
committed
use snake case
1 parent c20f692 commit 35dc6ac

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

standards/application/waku-api.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ types:
320320
MessageEnvelope:
321321
type: object
322322
fields:
323-
contentTopic:
323+
content_topic:
324324
type: string
325325
description: "Content-based filtering field as defined in [TOPICS](https://github.com/vacp2p/rfc-index/blob/main/waku/informational/23/topics.md#content-topics)"
326326
payload:
@@ -366,28 +366,28 @@ types:
366366
MessageSentEvent:
367367
type: object
368368
fields:
369-
eventType:
369+
event_type:
370370
type: string
371371
default: "message:sent"
372372
description: "Event type identifier"
373-
requestId:
373+
request_id:
374374
type: RequestId
375375
description: "The request ID associated with the sent message"
376-
messageHash:
376+
message_hash:
377377
type: string
378378
description: "Hash of the message that got sent to the network"
379379
380380
MessageErrorEvent:
381381
type: object
382382
fields:
383-
eventType:
383+
event_type:
384384
type: string
385385
default: "message:error"
386386
description: "Event type identifier"
387-
requestId:
387+
request_id:
388388
type: RequestId
389389
description: "The request ID associated with the failed message"
390-
messageHash:
390+
message_hash:
391391
type: string
392392
description: "Optional property. Hash of the message that got error"
393393
error:
@@ -397,14 +397,14 @@ types:
397397
MessagePropagatedEvent:
398398
type: object
399399
fields:
400-
eventType:
400+
event_type:
401401
type: string
402402
default: "message:propagated"
403403
description: "Event type identifier"
404-
requestId:
404+
request_id:
405405
type: RequestId
406406
description: "The request ID associated with the propagated message in the network"
407-
messageHash:
407+
message_hash:
408408
type: string
409409
description: "Hash of the message that got propagated within the network"
410410

0 commit comments

Comments
 (0)