diff --git a/openapi-full.json b/openapi-full.json index 99d6e2907e6..57cd23cf210 100644 --- a/openapi-full.json +++ b/openapi-full.json @@ -11394,7 +11394,22 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "type": "string", + "enum": [ + "breakout-room", + "type", + "value" + ] + } + } + } } } } @@ -11500,7 +11515,22 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "type": "string", + "enum": [ + "breakout-room", + "type", + "value" + ] + } + } + } } } } @@ -11628,7 +11658,21 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "type": "string", + "enum": [ + "type", + "value" + ] + } + } + } } } } @@ -11760,7 +11804,21 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "type": "string", + "enum": [ + "type", + "value" + ] + } + } + } } } } @@ -11893,7 +11951,22 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "type": "string", + "enum": [ + "breakout-room", + "type", + "value" + ] + } + } + } } } } @@ -12001,34 +12074,6 @@ } } }, - "403": { - "description": "Setting password is not allowed", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "ocs" - ], - "properties": { - "ocs": { - "type": "object", - "required": [ - "meta", - "data" - ], - "properties": { - "meta": { - "$ref": "#/components/schemas/OCSMeta" - }, - "data": {} - } - } - } - } - } - } - }, "400": { "description": "Setting password is not possible", "content": { @@ -12051,7 +12096,18 @@ }, "data": { "type": "object", + "required": [ + "error" + ], "properties": { + "error": { + "type": "string", + "enum": [ + "breakout-room", + "type", + "value" + ] + }, "message": { "type": "string" } @@ -15473,9 +15529,17 @@ }, "data": { "type": "object", + "required": [ + "error" + ], "properties": { "error": { - "type": "string" + "type": "string", + "enum": [ + "breakout-room", + "type", + "value" + ] } } } @@ -15716,7 +15780,22 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "type": "string", + "enum": [ + "breakout-room", + "type", + "value" + ] + } + } + } } } } diff --git a/openapi.json b/openapi.json index 24c01677c95..3e3a6b48a4f 100644 --- a/openapi.json +++ b/openapi.json @@ -11528,7 +11528,22 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "type": "string", + "enum": [ + "breakout-room", + "type", + "value" + ] + } + } + } } } } @@ -11634,7 +11649,22 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "type": "string", + "enum": [ + "breakout-room", + "type", + "value" + ] + } + } + } } } } @@ -11762,7 +11792,21 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "type": "string", + "enum": [ + "type", + "value" + ] + } + } + } } } } @@ -11894,7 +11938,21 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "type": "string", + "enum": [ + "type", + "value" + ] + } + } + } } } } @@ -12027,7 +12085,22 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "type": "string", + "enum": [ + "breakout-room", + "type", + "value" + ] + } + } + } } } } @@ -12135,34 +12208,6 @@ } } }, - "403": { - "description": "Setting password is not allowed", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "ocs" - ], - "properties": { - "ocs": { - "type": "object", - "required": [ - "meta", - "data" - ], - "properties": { - "meta": { - "$ref": "#/components/schemas/OCSMeta" - }, - "data": {} - } - } - } - } - } - } - }, "400": { "description": "Setting password is not possible", "content": { @@ -12185,7 +12230,18 @@ }, "data": { "type": "object", + "required": [ + "error" + ], "properties": { + "error": { + "type": "string", + "enum": [ + "breakout-room", + "type", + "value" + ] + }, "message": { "type": "string" } @@ -15607,9 +15663,17 @@ }, "data": { "type": "object", + "required": [ + "error" + ], "properties": { "error": { - "type": "string" + "type": "string", + "enum": [ + "breakout-room", + "type", + "value" + ] } } } @@ -15850,7 +15914,22 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "type": "string", + "enum": [ + "breakout-room", + "type", + "value" + ] + } + } + } } } } diff --git a/src/types/openapi/openapi-full.ts b/src/types/openapi/openapi-full.ts index 2bc804d3006..dd7cc552370 100644 --- a/src/types/openapi/openapi-full.ts +++ b/src/types/openapi/openapi-full.ts @@ -6180,7 +6180,10 @@ export interface operations { "application/json": { ocs: { meta: components["schemas"]["OCSMeta"]; - data: unknown; + data: { + /** @enum {string} */ + error: "breakout-room" | "type" | "value"; + }; }; }; }; @@ -6225,7 +6228,10 @@ export interface operations { "application/json": { ocs: { meta: components["schemas"]["OCSMeta"]; - data: unknown; + data: { + /** @enum {string} */ + error: "breakout-room" | "type" | "value"; + }; }; }; }; @@ -6277,7 +6283,10 @@ export interface operations { "application/json": { ocs: { meta: components["schemas"]["OCSMeta"]; - data: unknown; + data: { + /** @enum {string} */ + error: "type" | "value"; + }; }; }; }; @@ -6333,7 +6342,10 @@ export interface operations { "application/json": { ocs: { meta: components["schemas"]["OCSMeta"]; - data: unknown; + data: { + /** @enum {string} */ + error: "type" | "value"; + }; }; }; }; @@ -6389,7 +6401,10 @@ export interface operations { "application/json": { ocs: { meta: components["schemas"]["OCSMeta"]; - data: unknown; + data: { + /** @enum {string} */ + error: "breakout-room" | "type" | "value"; + }; }; }; }; @@ -6442,26 +6457,14 @@ export interface operations { ocs: { meta: components["schemas"]["OCSMeta"]; data: { + /** @enum {string} */ + error: "breakout-room" | "type" | "value"; message?: string; }; }; }; }; }; - /** @description Setting password is not allowed */ - 403: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - ocs: { - meta: components["schemas"]["OCSMeta"]; - data: unknown; - }; - }; - }; - }; }; }; "room-set-permissions": { @@ -7890,7 +7893,8 @@ export interface operations { ocs: { meta: components["schemas"]["OCSMeta"]; data: { - error?: string; + /** @enum {string} */ + error: "breakout-room" | "type" | "value"; }; }; }; @@ -7980,7 +7984,10 @@ export interface operations { "application/json": { ocs: { meta: components["schemas"]["OCSMeta"]; - data: unknown; + data: { + /** @enum {string} */ + error: "breakout-room" | "type" | "value"; + }; }; }; }; diff --git a/src/types/openapi/openapi.ts b/src/types/openapi/openapi.ts index f8c06b84173..d2ec65d2d52 100644 --- a/src/types/openapi/openapi.ts +++ b/src/types/openapi/openapi.ts @@ -5761,7 +5761,10 @@ export interface operations { "application/json": { ocs: { meta: components["schemas"]["OCSMeta"]; - data: unknown; + data: { + /** @enum {string} */ + error: "breakout-room" | "type" | "value"; + }; }; }; }; @@ -5806,7 +5809,10 @@ export interface operations { "application/json": { ocs: { meta: components["schemas"]["OCSMeta"]; - data: unknown; + data: { + /** @enum {string} */ + error: "breakout-room" | "type" | "value"; + }; }; }; }; @@ -5858,7 +5864,10 @@ export interface operations { "application/json": { ocs: { meta: components["schemas"]["OCSMeta"]; - data: unknown; + data: { + /** @enum {string} */ + error: "type" | "value"; + }; }; }; }; @@ -5914,7 +5923,10 @@ export interface operations { "application/json": { ocs: { meta: components["schemas"]["OCSMeta"]; - data: unknown; + data: { + /** @enum {string} */ + error: "type" | "value"; + }; }; }; }; @@ -5970,7 +5982,10 @@ export interface operations { "application/json": { ocs: { meta: components["schemas"]["OCSMeta"]; - data: unknown; + data: { + /** @enum {string} */ + error: "breakout-room" | "type" | "value"; + }; }; }; }; @@ -6023,26 +6038,14 @@ export interface operations { ocs: { meta: components["schemas"]["OCSMeta"]; data: { + /** @enum {string} */ + error: "breakout-room" | "type" | "value"; message?: string; }; }; }; }; }; - /** @description Setting password is not allowed */ - 403: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - ocs: { - meta: components["schemas"]["OCSMeta"]; - data: unknown; - }; - }; - }; - }; }; }; "room-set-permissions": { @@ -7471,7 +7474,8 @@ export interface operations { ocs: { meta: components["schemas"]["OCSMeta"]; data: { - error?: string; + /** @enum {string} */ + error: "breakout-room" | "type" | "value"; }; }; }; @@ -7561,7 +7565,10 @@ export interface operations { "application/json": { ocs: { meta: components["schemas"]["OCSMeta"]; - data: unknown; + data: { + /** @enum {string} */ + error: "breakout-room" | "type" | "value"; + }; }; }; };