generic axios

This commit is contained in:
Gabriel Rosa
2022-06-22 09:49:23 -03:00
parent 4df23c917a
commit ff2b8fae6f
2 changed files with 50 additions and 45 deletions
+2
View File
@@ -1,4 +1,5 @@
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
import { Method } from 'axios';
export class InputModel {
category: string;
@@ -14,6 +15,7 @@ export class InputModel {
options?: {
oauth?: {
get_tokens_url: string;
get_tokens_method?: Method;
get_tokens_url_params: string;
get_tokens_set_response: Record<string, string>;
content_type: string;