Merge pull request #2 from Cameleonapp/feature/keycloak-config
Feature/keycloak config
This commit is contained in:
commit
a6343f791b
@ -4,12 +4,14 @@ import {
|
||||
ValidateNested,
|
||||
IsNotEmpty,
|
||||
IsDateString,
|
||||
IsOptional,
|
||||
} from 'class-validator';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
export class InboundSMSMessageDto {
|
||||
@ApiProperty({ example: '2025-10-30T14:00:00Z' })
|
||||
@IsDateString()
|
||||
@IsOptional()
|
||||
dateTime: string;
|
||||
|
||||
@ApiProperty({ example: '+33612345678' })
|
||||
@ -20,6 +22,7 @@ export class InboundSMSMessageDto {
|
||||
@ApiProperty({ example: 'mes1234' })
|
||||
@IsString()
|
||||
@IsNotEmpty()
|
||||
@IsOptional()
|
||||
messageId: string;
|
||||
|
||||
@ApiProperty({
|
||||
|
||||
@ -17,7 +17,6 @@ async function bootstrap() {
|
||||
'This is a service dedicated to the reception of callback from external source and sending to rabbitMQ',
|
||||
)
|
||||
.addBearerAuth()
|
||||
.addTag('auth')
|
||||
.setVersion('1.0')
|
||||
.build();
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user