use snake case

This commit is contained in:
Sasha 2025-10-29 22:22:45 +01:00
parent c20f692a13
commit 35dc6ac6d6
No known key found for this signature in database

View File

@ -320,7 +320,7 @@ types:
MessageEnvelope: MessageEnvelope:
type: object type: object
fields: fields:
contentTopic: content_topic:
type: string type: string
description: "Content-based filtering field as defined in [TOPICS](https://github.com/vacp2p/rfc-index/blob/main/waku/informational/23/topics.md#content-topics)" description: "Content-based filtering field as defined in [TOPICS](https://github.com/vacp2p/rfc-index/blob/main/waku/informational/23/topics.md#content-topics)"
payload: payload:
@ -366,28 +366,28 @@ types:
MessageSentEvent: MessageSentEvent:
type: object type: object
fields: fields:
eventType: event_type:
type: string type: string
default: "message:sent" default: "message:sent"
description: "Event type identifier" description: "Event type identifier"
requestId: request_id:
type: RequestId type: RequestId
description: "The request ID associated with the sent message" description: "The request ID associated with the sent message"
messageHash: message_hash:
type: string type: string
description: "Hash of the message that got sent to the network" description: "Hash of the message that got sent to the network"
MessageErrorEvent: MessageErrorEvent:
type: object type: object
fields: fields:
eventType: event_type:
type: string type: string
default: "message:error" default: "message:error"
description: "Event type identifier" description: "Event type identifier"
requestId: request_id:
type: RequestId type: RequestId
description: "The request ID associated with the failed message" description: "The request ID associated with the failed message"
messageHash: message_hash:
type: string type: string
description: "Optional property. Hash of the message that got error" description: "Optional property. Hash of the message that got error"
error: error:
@ -397,14 +397,14 @@ types:
MessagePropagatedEvent: MessagePropagatedEvent:
type: object type: object
fields: fields:
eventType: event_type:
type: string type: string
default: "message:propagated" default: "message:propagated"
description: "Event type identifier" description: "Event type identifier"
requestId: request_id:
type: RequestId type: RequestId
description: "The request ID associated with the propagated message in the network" description: "The request ID associated with the propagated message in the network"
messageHash: message_hash:
type: string type: string
description: "Hash of the message that got propagated within the network" description: "Hash of the message that got propagated within the network"