authType and authReferenceId gets override every time #5893
Labels
status:waiting-for-triage
An issue that is yet to be reviewed or assigned
type:bug
A broken experience
Describe the bug
The
authType
andauthReferenceId
information are not take into consideration when building the plugin.There are 3 scenarios where one can have these values populated:
workspace.json
file.When building the plugin, Kiota should always rely on the
workspace.json
information build the API plugin, rather than override the current information based on the OpenAPI description.Expected behavior
When
authType
andauthRefrenceId
are provided, we should rely on them when building the plugin.Their values should be used to build the
runtimes
object in the API plugin file.Not null values
workspace.json example with key
API plugin example
workspace.json example with variable
API plugin example
Null values
workspace.json example
API Plugin example
Kiota Version
1.21.1
The text was updated successfully, but these errors were encountered: