Browse Source
fix(openapi): Update OpenAPI specs
Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/11846/head
Joas Schilling
2 years ago
No known key found for this signature in database
GPG Key ID: 74434EFE0D2E2205
4 changed files with
8 additions and
92 deletions
-
openapi-full.json
-
openapi.json
-
src/types/openapi/openapi-full.ts
-
src/types/openapi/openapi.ts
|
|
|
@ -4825,18 +4825,6 @@ |
|
|
|
}, |
|
|
|
"304": { |
|
|
|
"description": "No messages", |
|
|
|
"headers": { |
|
|
|
"X-Chat-Last-Common-Read": { |
|
|
|
"schema": { |
|
|
|
"type": "string" |
|
|
|
} |
|
|
|
}, |
|
|
|
"X-Chat-Last-Given": { |
|
|
|
"schema": { |
|
|
|
"type": "string" |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
"content": { |
|
|
|
"application/json": { |
|
|
|
"schema": { |
|
|
|
@ -4855,12 +4843,7 @@ |
|
|
|
"meta": { |
|
|
|
"$ref": "#/components/schemas/OCSMeta" |
|
|
|
}, |
|
|
|
"data": { |
|
|
|
"type": "array", |
|
|
|
"items": { |
|
|
|
"$ref": "#/components/schemas/ChatMessageWithParent" |
|
|
|
} |
|
|
|
} |
|
|
|
"data": {} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
@ -5941,18 +5924,6 @@ |
|
|
|
}, |
|
|
|
"304": { |
|
|
|
"description": "No messages", |
|
|
|
"headers": { |
|
|
|
"X-Chat-Last-Common-Read": { |
|
|
|
"schema": { |
|
|
|
"type": "string" |
|
|
|
} |
|
|
|
}, |
|
|
|
"X-Chat-Last-Given": { |
|
|
|
"schema": { |
|
|
|
"type": "string" |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
"content": { |
|
|
|
"application/json": { |
|
|
|
"schema": { |
|
|
|
@ -5971,12 +5942,7 @@ |
|
|
|
"meta": { |
|
|
|
"$ref": "#/components/schemas/OCSMeta" |
|
|
|
}, |
|
|
|
"data": { |
|
|
|
"type": "array", |
|
|
|
"items": { |
|
|
|
"$ref": "#/components/schemas/ChatMessageWithParent" |
|
|
|
} |
|
|
|
} |
|
|
|
"data": {} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@ -4712,18 +4712,6 @@ |
|
|
|
}, |
|
|
|
"304": { |
|
|
|
"description": "No messages", |
|
|
|
"headers": { |
|
|
|
"X-Chat-Last-Common-Read": { |
|
|
|
"schema": { |
|
|
|
"type": "string" |
|
|
|
} |
|
|
|
}, |
|
|
|
"X-Chat-Last-Given": { |
|
|
|
"schema": { |
|
|
|
"type": "string" |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
"content": { |
|
|
|
"application/json": { |
|
|
|
"schema": { |
|
|
|
@ -4742,12 +4730,7 @@ |
|
|
|
"meta": { |
|
|
|
"$ref": "#/components/schemas/OCSMeta" |
|
|
|
}, |
|
|
|
"data": { |
|
|
|
"type": "array", |
|
|
|
"items": { |
|
|
|
"$ref": "#/components/schemas/ChatMessageWithParent" |
|
|
|
} |
|
|
|
} |
|
|
|
"data": {} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
@ -5828,18 +5811,6 @@ |
|
|
|
}, |
|
|
|
"304": { |
|
|
|
"description": "No messages", |
|
|
|
"headers": { |
|
|
|
"X-Chat-Last-Common-Read": { |
|
|
|
"schema": { |
|
|
|
"type": "string" |
|
|
|
} |
|
|
|
}, |
|
|
|
"X-Chat-Last-Given": { |
|
|
|
"schema": { |
|
|
|
"type": "string" |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
"content": { |
|
|
|
"application/json": { |
|
|
|
"schema": { |
|
|
|
@ -5858,12 +5829,7 @@ |
|
|
|
"meta": { |
|
|
|
"$ref": "#/components/schemas/OCSMeta" |
|
|
|
}, |
|
|
|
"data": { |
|
|
|
"type": "array", |
|
|
|
"items": { |
|
|
|
"$ref": "#/components/schemas/ChatMessageWithParent" |
|
|
|
} |
|
|
|
} |
|
|
|
"data": {} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@ -1941,15 +1941,11 @@ export type operations = { |
|
|
|
}; |
|
|
|
/** @description No messages */ |
|
|
|
304: { |
|
|
|
headers: { |
|
|
|
"X-Chat-Last-Common-Read"?: string; |
|
|
|
"X-Chat-Last-Given"?: string; |
|
|
|
}; |
|
|
|
content: { |
|
|
|
"application/json": { |
|
|
|
ocs: { |
|
|
|
meta: components["schemas"]["OCSMeta"]; |
|
|
|
data: components["schemas"]["ChatMessageWithParent"][]; |
|
|
|
data: unknown; |
|
|
|
}; |
|
|
|
}; |
|
|
|
}; |
|
|
|
@ -2329,15 +2325,11 @@ export type operations = { |
|
|
|
}; |
|
|
|
/** @description No messages */ |
|
|
|
304: { |
|
|
|
headers: { |
|
|
|
"X-Chat-Last-Common-Read"?: string; |
|
|
|
"X-Chat-Last-Given"?: string; |
|
|
|
}; |
|
|
|
content: { |
|
|
|
"application/json": { |
|
|
|
ocs: { |
|
|
|
meta: components["schemas"]["OCSMeta"]; |
|
|
|
data: components["schemas"]["ChatMessageWithParent"][]; |
|
|
|
data: unknown; |
|
|
|
}; |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
@ -1772,15 +1772,11 @@ export type operations = { |
|
|
|
}; |
|
|
|
/** @description No messages */ |
|
|
|
304: { |
|
|
|
headers: { |
|
|
|
"X-Chat-Last-Common-Read"?: string; |
|
|
|
"X-Chat-Last-Given"?: string; |
|
|
|
}; |
|
|
|
content: { |
|
|
|
"application/json": { |
|
|
|
ocs: { |
|
|
|
meta: components["schemas"]["OCSMeta"]; |
|
|
|
data: components["schemas"]["ChatMessageWithParent"][]; |
|
|
|
data: unknown; |
|
|
|
}; |
|
|
|
}; |
|
|
|
}; |
|
|
|
@ -2160,15 +2156,11 @@ export type operations = { |
|
|
|
}; |
|
|
|
/** @description No messages */ |
|
|
|
304: { |
|
|
|
headers: { |
|
|
|
"X-Chat-Last-Common-Read"?: string; |
|
|
|
"X-Chat-Last-Given"?: string; |
|
|
|
}; |
|
|
|
content: { |
|
|
|
"application/json": { |
|
|
|
ocs: { |
|
|
|
meta: components["schemas"]["OCSMeta"]; |
|
|
|
data: components["schemas"]["ChatMessageWithParent"][]; |
|
|
|
data: unknown; |
|
|
|
}; |
|
|
|
}; |
|
|
|
}; |
|
|
|
|