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
Copy file name to clipboardExpand all lines: articles/api-center/build-register-apis-vscode-extension.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: API developers can use the Azure API Center extension for Visual St
4
4
author: dlepow
5
5
ms.service: azure-api-center
6
6
ms.topic: how-to
7
-
ms.date: 11/08/2024
7
+
ms.date: 05/28/2025
8
8
ms.author: danlep
9
9
ms.collection: ce-skilling-ai-copilot
10
10
ms.custom:
@@ -60,6 +60,8 @@ Use the power of [GitHub Copilot](https://marketplace.visualstudio.com/items?ite
60
60
61
61
:::image type="content" source="media/build-register-apis-vscode-extension/generate-api-documentation.gif" alt-text="Animation showing how to use GitHub Copilot to generate an OpenAPI spec from code." lightbox="media/build-register-apis-vscode-extension/generate-api-documentation.gif":::
62
62
63
+
You can also generate an OpenAPI specification from all of the files in your current project. Use the **Azure API Center: Generate OpenAPI Spec from Entire Project** command from the Command Palette.
64
+
63
65
After generating the OpenAPI specification file and checking for accuracy, you can register the API with your API center using the **Azure API Center: Register API** command.
64
66
65
67
> [!TIP]
@@ -70,6 +72,6 @@ After generating the OpenAPI specification file and checking for accuracy, you c
70
72
*[Azure API Center - key concepts](key-concepts.md)
71
73
*[Discover and consume APIs with the Azure API Center extension for Visual Studio Code](discover-apis-vscode-extension.md)
72
74
*[Govern APIs with the Azure API Center extension for Visual Studio Code](govern-apis-vscode-extension.md)
73
-
*[Enable and view API Center portal in Visual Studio Code](enable-api-center-portal-vs-code-extension.md)
75
+
*[Enable API Center portal view in Visual Studio Code](enable-api-center-portal-vs-code-extension.md)
74
76
*[Overview of GitHub Copilot for Azure](/azure/developer/github-copilot-azure/introduction)
Copy file name to clipboardExpand all lines: articles/api-center/discover-apis-vscode-extension.md
+14-3Lines changed: 14 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,12 +21,13 @@ API developers in your organization can discover and consume APIs in your [API c
21
21
API developers can also take advantage of features in the extension to [register APIs](build-register-apis-vscode-extension.md) in the API center and ensure [API governance](govern-apis-vscode-extension.md).
22
22
23
23
> [!TIP]
24
-
> If you want enterprise app developers to discover your APIs in a centralized location, optionally enable the read-only [API Center portal](enable-api-center-portal-vs-code-extension.md) in Visual Studio Code.
24
+
> If you want enterprise app developers to discover your APIs in a centralized location, optionally enable the read-only [API Center portal view](enable-api-center-portal-vs-code-extension.md) in Visual Studio Code.
*[REST client extension](https://marketplace.visualstudio.com/items?itemName=humao.rest-client) - to send HTTP requests and view the responses in Visual Studio Code directly
29
29
*[Microsoft Kiota extension](https://marketplace.visualstudio.com/items?itemName=ms-graph.kiota) - to generate API clients
30
+
-[Microsoft 365 Agents Toolkit](https://marketplace.visualstudio.com/items?itemName=TeamsDevApp.ms-teams-vscode-extension) - to create Microsoft 365 declarative agents
@@ -36,7 +37,7 @@ API center resources appear in the tree view on the left-hand side. Expand an AP
36
37
37
38
:::image type="content" source="media/discover-apis-vscode-extension/explore-api-centers.png" alt-text="Screenshot of API Center tree view in Visual Studio Code." lightbox="media/discover-apis-vscode-extension/explore-api-centers.png":::
38
39
39
-
Search for APIs within an API Center by using the search icon shown in the **Apis** tree view item.
40
+
Search for APIs within an API Center by using the search icon shown in the **APIs** tree view item.
40
41
41
42
## View API documentation
42
43
@@ -104,10 +105,20 @@ You can also export a specification using the Command Palette:
104
105
1. Make selections to navigate to an API definition. A new tab appears that renders an API specification document.
105
106
106
107
108
+
## Create M365 declarative agent
107
109
110
+
You can create a [declarative agent for Microsoft 365 Copilot](/microsoft-365-copilot/extensibility/overview-declarative-agent) from an OpenAPI definition in your API center. With a declarative agent, you customize Microsoft 365 Copilot to help you meet the unique business needs of your users. When you build a declarative agent, you provide the instructions, actions, and knowledge to tailor Copilot for your business scenarios.
108
111
112
+
To export a declarative agent in the extension's tree view:
109
113
110
-
## Related content
114
+
1. Expand the API Center tree view to show an OpenAPI definition.
115
+
1. Right-click on the definition, and select **Export M365 Declarative Agent**.
116
+
1. When prompted:
117
+
1. Select one or more API operations that Copilot can interact with.
118
+
1. Select a workspace folder.
119
+
1. Enter an application name.
120
+
121
+
The declarative agent is created in the selected workspace folder. Use the Microsoft 365 Agents Toolkit to further customize and deploy the agent.
111
122
112
123
*[Azure API Center - key concepts](key-concepts.md)
113
124
*[Build and register APIs with the Azure API Center extension for Visual Studio Code](build-register-apis-vscode-extension.md)
0 commit comments