Skip to content

Commit 603bbf3

Browse files
committed
Added isolated code link
1 parent 5f928c0 commit 603bbf3

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

.openpublishing.publish.config.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,12 @@
380380
"branch": "main",
381381
"branch_mapping": {}
382382
},
383+
{
384+
"path_to_root": "functions-openapi-turbine-repair-isolated",
385+
"url": "https://github.com/Azure-Samples/functions-openapi-turbine-repair-isolated",
386+
"branch": "main",
387+
"branch_mapping": {}
388+
},
383389
{
384390
"path_to_root": "azure-functions-templates-v3",
385391
"url": "https://github.com/Azure/azure-functions-templates",

articles/azure-functions/openapi-apim-integrate-visual-studio.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,14 @@ To install the OpenAPI extension:
7272

7373
1. In the console, run the following [Install-Package](/nuget/tools/ps-ref-install-package) command to install the OpenAPI extension:
7474

75-
# [Isolated worker model](#tab/isolated-process)
75+
### [Isolated worker model](#tab/isolated-process)
7676

7777
```command
7878
NuGet\Install-Package Microsoft.Azure.Functions.Worker.Extensions.OpenApi -Version 1.5.1
7979
```
8080
You might need to updated the [specific version](https://www.nuget.org/packages/Microsoft.Azure.Functions.Worker.Extensions.OpenApi), based on your version of .NET.
8181

82-
# [In-process model](#tab/in-process)
82+
### [In-process model](#tab/in-process)
8383

8484
```command
8585
NuGet\Install-Package Microsoft.Azure.WebJobs.Extensions.OpenApi -Version 1.5.1
@@ -115,16 +115,13 @@ The function then calculates how much a repair costs, and how much revenue the t
115115

116116
In the Turbine.cs project file, replace the contents of the class generated from the HTTP trigger template with the following code, which depends on your process model:
117117

118-
# [Isolated worker model](#tab/isolated-process)
118+
### [Isolated worker model](#tab/isolated-process)
119119

120-
```command
121-
NuGet\Install-Package Microsoft.Azure.Functions.Worker.Extensions.OpenApi -Version 1.5.1
122-
```
123-
You might need to updated the [specific version](https://www.nuget.org/packages/Microsoft.Azure.Functions.Worker.Extensions.OpenApi), based on your version of .NET.
120+
:::code language="csharp" source="~/functions-openapi-turbine-repair-isolated/TurbineRepair/Turbines.cs":::
124121

125-
# [In-process model](#tab/in-process)
122+
### [In-process model](#tab/in-process)
126123

127-
:::code language="csharp" source="~/functions-openapi-turbine-repair/TurbineRepair/Function1.cs":::
124+
:::code language="csharp" source="~/functions-openapi-turbine-repair/TurbineRepair/Turbines.cs":::
128125

129126
---
130127

0 commit comments

Comments
 (0)