From 6728837727370ce8fc6b278694861ee7ed3e500d Mon Sep 17 00:00:00 2001
From: patrickcorbett1 <129701169+patrickcorbett1@users.noreply.github.com>
Date: Mon, 16 Oct 2023 04:54:18 +0000
Subject: [PATCH] Correct the generate access token api definition
---
swagger.yaml | 24 +++++++++++++++++-------
1 file changed, 17 insertions(+), 7 deletions(-)
diff --git a/swagger.yaml b/swagger.yaml
index 0daf4c3..ceac1ba 100644
--- a/swagger.yaml
+++ b/swagger.yaml
@@ -1067,21 +1067,31 @@ paths:
description: "Y016 : loginName header missing
Y015 : Unauthorized User
Y016 : Api-Version header missing
Y020 : Invalid token in authorization header
Y027 : Unsupported authentication type"
404:
description: "Not Found"
+ tags:
+ - "Auth"
+ consumes:
+ - "application/x-www-form-urlencoded"
parameters:
- in: "formData"
name: "clientId"
- description: "clientId issued by Yodlee is used to generate the OAuth token for authentication."
type: "string"
- required: false
+ description: "clientId issued by Yodlee is used to generate the OAuth token for authentication."
+ required: true
- in: "formData"
name: "secret"
+ type: "string"
description: "secret issued by Yodlee is used to generate the OAuth token for authentication."
+ required: true
+ - in: "header"
+ name: "loginName"
type: "string"
- required: false
- tags:
- - "Auth"
- consumes:
- - "application/x-www-form-urlencoded"
+ description: "The id of your end user."
+ required: true
+ - in: "header"
+ name: "Api-Version"
+ type: "string"
+ description: "The api verson"
+ required: true
delete:
summary: "Delete Token"
deprecated: false