Hi Jason,
Yes, we are able to successfully use an OpenAPI 3.0 definition in the current environment which is on premise .
Regards,
Oussama
------------------------------
oussama Nairi
Integration Consultant
INETUM
------------------------------
Original Message:
Sent: Fri April 28, 2023 10:27 AM
From: Jason Barks
Subject: Can't uploading OpenAPI 3.0 definition that containing OAuth 2.0 authorization as a REST Service !!
According to the link I sent, the fix packs referenced introduce OpenAPI 3.0 support. Have you been able to successfully use an OpenAPI 3.0 definition in the current environment? If not, I would double check on the fix packs referenced before doing any further troubleshooting. After that has been confirmed, then we can proceed to the next step. Is this a cloudpak instance or on premise?
------------------------------
Jason Barks
Lead Business Automation Consultant
Salient Process, Inc.
jbarks@salientprocess.com
Original Message:
Sent: Fri April 28, 2023 09:37 AM
From: oussama Nairi
Subject: Can't uploading OpenAPI 3.0 definition that containing OAuth 2.0 authorization as a REST Service !!
Hi Jason,
This the exception i got :
The object designated by the JSON path "paths.'/generatePDFInput'(post).security" contains no supported security scheme types. The supported security scheme types are 'basic', 'apiKey'.
In the security scheme designated by the JSON path "components.securitySchemes.'default'", the 'type' property has an unsupported value, namely 'oauth2'.
I didn't demand to IT to add those fix packs to our environment yet because i'm not sure yet of the exception source .
This is a part of our OpenAPI Definition which support OAuth2.0 .
"securitySchemes" : {
"default" : {
"type" : "oauth2",
"flows" : {
"implicit" : {
"authorizationUrl" : "https://localhost:8243/authorize",
"scopes" : { }
}
}
}
}
Regards,
Oussama
------------------------------
oussama Nairi
Original Message:
Sent: Fri April 28, 2023 09:14 AM
From: Jason Barks
Subject: Can't uploading OpenAPI 3.0 definition that containing OAuth 2.0 authorization as a REST Service !!
Can you send the exact exception you are seeing? Also can you confirm that the fix packs referenced in the link below have been added to your environment?
https://www.ibm.com/support/pages/using-openapi-30-rest-services-ibm-business-automation-workflow-and-ibm-integration-designer
------------------------------
Jason Barks
Lead Business Automation Consultant
Salient Process, Inc.
jbarks@salientprocess.com
Original Message:
Sent: Thu April 27, 2023 06:54 AM
From: oussama Nairi
Subject: Can't uploading OpenAPI 3.0 definition that containing OAuth 2.0 authorization as a REST Service !!
I tried to create a REST Service from an OpeAPI 3.0 defintion in IBM Business Automation Workflow V 20.0.0.2 .
I got exception (ibm support only apikey or basic auth ) so this is because my swagger file including an OAuth 2.0 mechanism .How to handle this error please !
------------------------------
oussama Nairi
------------------------------