FIX: Swagger

This commit is contained in:
Victor Radael
2022-08-12 16:35:36 -03:00
parent 35abb24ea7
commit 0a0ecb20bb
+2 -2
View File
@@ -52,7 +52,7 @@ export class ConnectionDto implements Connection {
network_config_id: string | null;
@ApiProperty()
properties: any | DatabaseConnectionPropertiesDto;
properties: DatabaseConnectionPropertiesDto | any;
// ---Information sent by the frontend (Heirs of Connector)--- //
@@ -130,7 +130,7 @@ export class UpdateConnectionDto extends PickType(ConnectionDto, [
]) {}
export class ConnectionsRes implements GetAllConnectionResponse {
@ApiProperty()
@ApiProperty({ type: [ConnectionToCatalogDto] })
connections: ConnectionToCatalogDto[];
@ApiProperty()