diff --git a/openapi.json b/openapi.json
index 9d26def..7b6eb44 100644
--- a/openapi.json
+++ b/openapi.json
@@ -326,10 +326,10 @@
{
"properties": {
"data": {
- "$ref": "#/components/schemas/MessageUpdateBody"
+ "$ref": "#/components/schemas/StatusChangeBody"
},
"event": {
- "const": "message_update",
+ "const": "status_change",
"description": "The event name.",
"type": "string"
},
@@ -346,16 +346,16 @@
"data",
"event"
],
- "title": "Event message_update",
+ "title": "Event status_change",
"type": "object"
},
{
"properties": {
"data": {
- "$ref": "#/components/schemas/StatusChangeBody"
+ "$ref": "#/components/schemas/MessageUpdateBody"
},
"event": {
- "const": "status_change",
+ "const": "message_update",
"description": "The event name.",
"type": "string"
},
@@ -372,7 +372,7 @@
"data",
"event"
],
- "title": "Event status_change",
+ "title": "Event message_update",
"type": "object"
}
]
Description
make genis not consistently generating openapi.json, on some runs there would be no changes, but sometimes we may encounter changes like:This leads to
go lintaction failing.