Skip to content

Commit 8361f92

Browse files
authored
Update openapi-spec.md
1 parent df179e9 commit 8361f92

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

articles/ai-services/agents/how-to/tools/openapi-spec.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,19 @@ work together, generate client code, create tests, apply design standards, and m
4949
- value: YOUR_API_KEY
5050
- Connection name: `YOUR_CONNECTION_NAME` (You will use this connection name in the sample code below.)
5151
- Access: you can choose either *this project only* or *shared to all projects*. Just make sure in the sample code below, the project you entered connection string for has access to this connection.
52-
52+
53+
1. Update your OpenAPI Spec with the following:
54+
```json
55+
"components": {
56+
"securitySchemes": {
57+
"cosoLocationApiLambdaAuthorizer": {
58+
"type": "apiKey",
59+
"name": "key",
60+
"in": "query"
61+
}
62+
}
63+
}
64+
```
5365
::: zone-end
5466

5567
::: zone pivot="code-example"

0 commit comments

Comments
 (0)