Forum Discussion

buzzz's avatar
buzzz
Visitor
8 months ago

APi Key in swager file

Hi,

I want to add header key as X-API-KEY and I want to add the value of that header in a swagger file, I added the following code is at the end of my swager, but the Informatica mapping using REST connexion fails (REST connexion is based on swagger file)

 

Thank you for your help 🙂

 

"securityDefinitions": {
"X-Api-Key": {
"type": "apiKey",
"name": "X-Api-Key",
"in": "header"
}
},
"security" : {
"X-Api-Key" : "637b51b3-bc0c-407d-b551-9cb11451cf6e"
}
 
No RepliesBe the first to reply