You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe the problem.
Kiota does not recognize the OpenAPI extension for authentication vault reference id within the securityScheme object in OAS files. This value is required in the runtime object entry for copilot api plugins.
Client library/SDK language
None
Describe the solution you'd like
Kiota needs to support reading the x-ai-auth-reference-id OpenAPI extension in OAS files and writing to the runtime object of the plugin manifest.
Sample OAS file:
paths:
/users:
get:
operationId: getUsersparameters: []responses:
'200':
description: The request has succeeded.content:
application/json:
schema:
type: arrayitems:
$ref: '#/components/schemas/User'security:
- GraphOAuth2AuthAppOnly:
- user.read.all/users/{id}:
get:
operationId: getUserparameters:
- name: idin: pathrequired: truedescription: The user idschema:
type: stringresponses:
'200':
description: The request has succeeded.content:
application/json:
schema:
$ref: '#/components/schemas/User'security:
- GraphOAuth2AuthDelegated:
- user.readsecurity:
- GraphOAuth2AuthDelegated:
- user.readcomponents:
schemas:
User:
type: objectrequired:
- id
- displayNameproperties:
id:
type: stringdisplayName:
type: stringsecuritySchemes:
GraphOAuth2AuthDelegated:
type: oauth2flows:
authorizationCode:
authorizationUrl: https://login.microsoftonline.com/tenantid/oauth2/v2.0/authorizetokenUrl: https://login.microsoftonline.com/tenantid/oauth2/v2.0/tokenscopes:
user.read: Grants read access to the signed-in user's profilex-ai-auth-reference-id-: 'someValue789'GraphOAuth2AuthAppOnly:
type: oauth2flows:
clientCredentials:
tokenUrl: https://login.microsoftonline.com/tenantid/oauth2/v2.0/tokenscopes:
user.read.all: Grants read access to all users' full profilesx-ai-auth-reference-id-: 'otherValue123'
Is your feature request related to a problem? Please describe the problem.
Kiota does not recognize the OpenAPI extension for authentication vault reference id within the
securityScheme
object in OAS files. This value is required in the runtime object entry for copilot api plugins.Client library/SDK language
None
Describe the solution you'd like
Kiota needs to support reading the
x-ai-auth-reference-id
OpenAPI extension in OAS files and writing to theruntime
object of the plugin manifest.Sample OAS file:
Expected plugin manifest:
Additional context
No response
The text was updated successfully, but these errors were encountered: