diff --git a/openapi-administration.json b/openapi-administration.json index f8132697e80..11300b2e7c0 100644 --- a/openapi-administration.json +++ b/openapi-administration.json @@ -1223,7 +1223,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } diff --git a/openapi-backend-recording.json b/openapi-backend-recording.json index 0951a7d89ee..1dc3ce44918 100644 --- a/openapi-backend-recording.json +++ b/openapi-backend-recording.json @@ -351,7 +351,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -611,7 +613,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } diff --git a/openapi-federation.json b/openapi-federation.json index f8cdaf8deb0..72ddd1a5249 100644 --- a/openapi-federation.json +++ b/openapi-federation.json @@ -1339,8 +1339,8 @@ } } }, - "410": { - "description": "Remote server could not be reached to notify about the acceptance", + "404": { + "description": "Invite can not be found", "content": { "application/json": { "schema": { @@ -1377,8 +1377,8 @@ } } }, - "404": { - "description": "Invite can not be found", + "410": { + "description": "Remote server could not be reached to notify about the acceptance", "content": { "application/json": { "schema": { @@ -1399,6 +1399,9 @@ }, "data": { "type": "object", + "required": [ + "error" + ], "properties": { "error": { "type": "string" @@ -1485,7 +1488,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -1515,6 +1520,9 @@ }, "data": { "type": "object", + "required": [ + "error" + ], "properties": { "error": { "type": "string" @@ -1550,6 +1558,9 @@ }, "data": { "type": "object", + "required": [ + "error" + ], "properties": { "error": { "type": "string" diff --git a/openapi-full.json b/openapi-full.json index 967f703e5f5..24c243c814a 100644 --- a/openapi-full.json +++ b/openapi-full.json @@ -2454,7 +2454,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -8217,7 +8219,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -8374,7 +8378,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -8402,7 +8408,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -8502,7 +8510,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -8530,7 +8540,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -8558,7 +8570,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -10600,7 +10614,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -10716,7 +10732,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -10845,7 +10863,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -10991,7 +11011,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -17225,7 +17247,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -17320,7 +17344,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -17348,7 +17374,20 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "type": "string", + "enum": [ + "avatar" + ] + } + } + } } } } @@ -17833,8 +17872,8 @@ } } }, - "410": { - "description": "Remote server could not be reached to notify about the acceptance", + "404": { + "description": "Invite can not be found", "content": { "application/json": { "schema": { @@ -17871,8 +17910,8 @@ } } }, - "404": { - "description": "Invite can not be found", + "410": { + "description": "Remote server could not be reached to notify about the acceptance", "content": { "application/json": { "schema": { @@ -17893,6 +17932,9 @@ }, "data": { "type": "object", + "required": [ + "error" + ], "properties": { "error": { "type": "string" @@ -17979,7 +18021,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -18009,6 +18053,9 @@ }, "data": { "type": "object", + "required": [ + "error" + ], "properties": { "error": { "type": "string" @@ -18044,6 +18091,9 @@ }, "data": { "type": "object", + "required": [ + "error" + ], "properties": { "error": { "type": "string" @@ -19869,7 +19919,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -20238,7 +20290,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -20498,7 +20552,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } diff --git a/openapi.json b/openapi.json index be7a17ecf34..7482e5c924c 100644 --- a/openapi.json +++ b/openapi.json @@ -2341,7 +2341,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -8104,7 +8106,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -8261,7 +8265,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -8289,7 +8295,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -8389,7 +8397,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -8417,7 +8427,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -8445,7 +8457,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -10487,7 +10501,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -10603,7 +10619,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -10732,7 +10750,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -10878,7 +10898,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -17359,7 +17381,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -17454,7 +17478,9 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "nullable": true + } } } } @@ -17482,7 +17508,20 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": {} + "data": { + "type": "object", + "required": [ + "error" + ], + "properties": { + "error": { + "type": "string", + "enum": [ + "avatar" + ] + } + } + } } } } diff --git a/src/types/openapi/openapi-federation.ts b/src/types/openapi/openapi-federation.ts index f45f2602009..f2a820dc997 100644 --- a/src/types/openapi/openapi-federation.ts +++ b/src/types/openapi/openapi-federation.ts @@ -580,7 +580,7 @@ export interface operations { ocs: { meta: components["schemas"]["OCSMeta"]; data: { - error?: string; + error: string; }; }; }; @@ -644,7 +644,7 @@ export interface operations { ocs: { meta: components["schemas"]["OCSMeta"]; data: { - error?: string; + error: string; }; }; }; @@ -660,7 +660,7 @@ export interface operations { ocs: { meta: components["schemas"]["OCSMeta"]; data: { - error?: string; + error: string; }; }; }; diff --git a/src/types/openapi/openapi-full.ts b/src/types/openapi/openapi-full.ts index 21ea412361b..9d549bcb92e 100644 --- a/src/types/openapi/openapi-full.ts +++ b/src/types/openapi/openapi-full.ts @@ -8697,7 +8697,10 @@ export interface operations { "application/json": { ocs: { meta: components["schemas"]["OCSMeta"]; - data: unknown; + data: { + /** @enum {string} */ + error: "avatar"; + }; }; }; }; @@ -8886,7 +8889,7 @@ export interface operations { ocs: { meta: components["schemas"]["OCSMeta"]; data: { - error?: string; + error: string; }; }; }; @@ -8950,7 +8953,7 @@ export interface operations { ocs: { meta: components["schemas"]["OCSMeta"]; data: { - error?: string; + error: string; }; }; }; @@ -8966,7 +8969,7 @@ export interface operations { ocs: { meta: components["schemas"]["OCSMeta"]; data: { - error?: string; + error: string; }; }; }; diff --git a/src/types/openapi/openapi.ts b/src/types/openapi/openapi.ts index ea20a29be16..8dd08560de2 100644 --- a/src/types/openapi/openapi.ts +++ b/src/types/openapi/openapi.ts @@ -8278,7 +8278,10 @@ export interface operations { "application/json": { ocs: { meta: components["schemas"]["OCSMeta"]; - data: unknown; + data: { + /** @enum {string} */ + error: "avatar"; + }; }; }; };