Browse Source

fix(openapi): Update OpenAPI specs

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/11846/head
Joas Schilling 2 years ago
parent
commit
86494893ae
No known key found for this signature in database GPG Key ID: 74434EFE0D2E2205
  1. 38
      openapi-full.json
  2. 38
      openapi.json
  3. 12
      src/types/openapi/openapi-full.ts
  4. 12
      src/types/openapi/openapi.ts

38
openapi-full.json

@ -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": {}
}
}
}

38
openapi.json

@ -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": {}
}
}
}

12
src/types/openapi/openapi-full.ts

@ -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;
};
};
};

12
src/types/openapi/openapi.ts

@ -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;
};
};
};

Loading…
Cancel
Save