[core] Try to fix swagger for redoc

This commit is contained in:
allburov committed 2023-12-01 09:33:56 +07:00
1 parent 9071adcdcc
commit 44463c199a
3 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -15,7 +15,7 @@ export class RemoteFile {
description: 'Document file name. Value can be null',
example: 'filename.jpg',
})
filename?: string | null;
filename?: string;
@ApiProperty({
example:
@@ -35,7 +35,7 @@ export class BinaryFile {
description: 'Document file name. Optional',
example: 'filename.jpeg',
})
filename?: string | null;
filename?: string;
@ApiProperty({
description: 'Base64-encoded data of the file',
+1 -1
View File
@@ -4,7 +4,7 @@ import { WAMessageAck } from './enums.dto';
import { ChatIdProperty, MessageIdProperty } from './properties.dto';
export class WALocation {
description?: string | null;
description?: string;
latitude: string;
longitude: string;
}
+1 -1
View File
@@ -78,5 +78,5 @@ export class MeInfo {
}
export class SessionInfo extends SessionDTO {
me: MeInfo | null;
me?: MeInfo;
}