Merge pull request #2 from Cameleonapp/feature/keycloak-config

Feature/keycloak config
This commit is contained in:
KurtisMelkisedec 2025-10-31 21:25:02 +00:00 committed by GitHub
commit a6343f791b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -4,12 +4,14 @@ import {
ValidateNested, ValidateNested,
IsNotEmpty, IsNotEmpty,
IsDateString, IsDateString,
IsOptional,
} from 'class-validator'; } from 'class-validator';
import { Type } from 'class-transformer'; import { Type } from 'class-transformer';
export class InboundSMSMessageDto { export class InboundSMSMessageDto {
@ApiProperty({ example: '2025-10-30T14:00:00Z' }) @ApiProperty({ example: '2025-10-30T14:00:00Z' })
@IsDateString() @IsDateString()
@IsOptional()
dateTime: string; dateTime: string;
@ApiProperty({ example: '+33612345678' }) @ApiProperty({ example: '+33612345678' })
@ -20,6 +22,7 @@ export class InboundSMSMessageDto {
@ApiProperty({ example: 'mes1234' }) @ApiProperty({ example: 'mes1234' })
@IsString() @IsString()
@IsNotEmpty() @IsNotEmpty()
@IsOptional()
messageId: string; messageId: string;
@ApiProperty({ @ApiProperty({

View File

@ -17,7 +17,6 @@ async function bootstrap() {
'This is a service dedicated to the reception of callback from external source and sending to rabbitMQ', 'This is a service dedicated to the reception of callback from external source and sending to rabbitMQ',
) )
.addBearerAuth() .addBearerAuth()
.addTag('auth')
.setVersion('1.0') .setVersion('1.0')
.build(); .build();