[core] Try to fix swagger for redoc
This commit is contained in:
1 parent
9071adcdcc
commit
44463c199a
3 files changed
+4
-4
No files matched your search
@@ -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',
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -78,5 +78,5 @@ export class MeInfo {
|
||||
}
|
||||
|
||||
export class SessionInfo extends SessionDTO {
|
||||
me: MeInfo | null;
|
||||
me?: MeInfo;
|
||||
}
|
||||
Reference in new issue
Block a user