mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-26 07:10:05 +00:00
Authentication middleware implementation on Gateway + Documentation implementation w/ auth
This commit is contained in:
@@ -1,22 +1,13 @@
|
||||
import { ApiProperty } from "@nestjs/swagger";
|
||||
|
||||
export class CreateInputGrpcClientDto {
|
||||
|
||||
@ApiProperty()
|
||||
cron:string;
|
||||
|
||||
@ApiProperty({
|
||||
description:"Name of the input",
|
||||
example:"Test Name"
|
||||
})
|
||||
name:string;
|
||||
|
||||
@ApiProperty()
|
||||
plugin:string;
|
||||
|
||||
@ApiProperty()
|
||||
values:string;
|
||||
|
||||
@ApiProperty()
|
||||
operation:string;
|
||||
}
|
||||
|
||||
@@ -15,7 +15,6 @@ import { GrpcClientConfiguration } from './config/grpc-client';
|
||||
import { TestConnectionDTO } from './dto/test-connection-grpc-client.dto';
|
||||
import { ApiTags } from '@nestjs/swagger';
|
||||
|
||||
@ApiTags('inputs-grpc')
|
||||
@Controller('grpc/input')
|
||||
export class InputGrpcClientController implements OnModuleInit {
|
||||
@Client(GrpcClientConfiguration)
|
||||
|
||||
Reference in New Issue
Block a user