Skip to content

Commit f1a3e08

Browse files
author
gitName
committed
misc updates
1 parent 6f3c0d1 commit f1a3e08

File tree

2 files changed

+18
-5
lines changed

2 files changed

+18
-5
lines changed

articles/api-center/build-register-apis-vscode-extension.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: API developers can use the Azure API Center extension for Visual St
44
author: dlepow
55
ms.service: azure-api-center
66
ms.topic: how-to
7-
ms.date: 11/08/2024
7+
ms.date: 05/28/2025
88
ms.author: danlep
99
ms.collection: ce-skilling-ai-copilot
1010
ms.custom:
@@ -60,6 +60,8 @@ Use the power of [GitHub Copilot](https://marketplace.visualstudio.com/items?ite
6060
6161
:::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":::
6262

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+
6365
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.
6466

6567
> [!TIP]
@@ -70,6 +72,6 @@ After generating the OpenAPI specification file and checking for accuracy, you c
7072
* [Azure API Center - key concepts](key-concepts.md)
7173
* [Discover and consume APIs with the Azure API Center extension for Visual Studio Code](discover-apis-vscode-extension.md)
7274
* [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)
7476
* [Overview of GitHub Copilot for Azure](/azure/developer/github-copilot-azure/introduction)
7577

articles/api-center/discover-apis-vscode-extension.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,13 @@ API developers in your organization can discover and consume APIs in your [API c
2121
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).
2222

2323
> [!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.
2525
2626
[!INCLUDE [vscode-extension-basic-prerequisites](includes/vscode-extension-basic-prerequisites.md)]
2727

2828
* [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
2929
* [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
3031

3132
[!INCLUDE [vscode-extension-setup](includes/vscode-extension-setup.md)]
3233

@@ -36,7 +37,7 @@ API center resources appear in the tree view on the left-hand side. Expand an AP
3637

3738
:::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":::
3839

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.
4041

4142
## View API documentation
4243

@@ -104,10 +105,20 @@ You can also export a specification using the Command Palette:
104105
1. Make selections to navigate to an API definition. A new tab appears that renders an API specification document.
105106

106107

108+
## Create M365 declarative agent
107109

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.
108111

112+
To export a declarative agent in the extension's tree view:
109113

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.
111122

112123
* [Azure API Center - key concepts](key-concepts.md)
113124
* [Build and register APIs with the Azure API Center extension for Visual Studio Code](build-register-apis-vscode-extension.md)

0 commit comments

Comments
 (0)