mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-22 20:29:09 +00:00
implementation of rest comunication on gateway
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
import { ApiProperty } from "@nestjs/swagger";
|
||||
|
||||
export class CreateRestInputDto {
|
||||
|
||||
@ApiProperty()
|
||||
cron:string;
|
||||
|
||||
@ApiProperty({
|
||||
description:"Name of the input",
|
||||
example:"Test Name"
|
||||
})
|
||||
name:string;
|
||||
|
||||
@ApiProperty()
|
||||
plugin:string;
|
||||
|
||||
@ApiProperty()
|
||||
values:string;
|
||||
|
||||
@ApiProperty()
|
||||
operation:string;
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
import { PartialType } from '@nestjs/swagger';
|
||||
import { CreateRestInputDto } from './create-rest-input.dto';
|
||||
|
||||
export class UpdateRestInputDto extends PartialType(CreateRestInputDto) {}
|
||||
Reference in New Issue
Block a user