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: docs/usage/openapi-client.md
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -119,7 +119,7 @@ The following steps describe how to generate and use a JSON:API client in C#, co
119
119
```
120
120
121
121
> [!TIP]
122
-
> The [example project](https://github.com/json-api-dotnet/JsonApiDotNetCore/tree/openapi/src/Examples/OpenApiNSwagClientExample) contains an enhanced version
122
+
> The [example project](https://github.com/json-api-dotnet/JsonApiDotNetCore/tree/master/src/Examples/OpenApiNSwagClientExample) contains an enhanced version
123
123
> that uses `IHttpClientFactory` for [scalability](https://learn.microsoft.com/en-us/dotnet/core/extensions/httpclient-factory) and
124
124
> [resiliency](https://learn.microsoft.com/en-us/aspnet/core/fundamentals/http-requests#use-polly-based-handlers) and logs the HTTP requests and responses.
125
125
> Additionally, the example shows how to write the swagger.json file to disk when building the server, which is imported from the client project.
@@ -181,7 +181,7 @@ Next, build your project. It runs the kiota command-line tool, which generates f
181
181
> which is needed for JSON:API partial POST/PATCH requests to work correctly.
182
182
183
183
Kiota is pretty young and therefore still rough around the edges. At the time of writing, there are various bugs, for which we have workarounds
184
-
in place. For a full example, see the [example project](https://github.com/json-api-dotnet/JsonApiDotNetCore/tree/openapi/src/Examples/OpenApiKiotaClientExample).
184
+
in place. For a full example, see the [example project](https://github.com/json-api-dotnet/JsonApiDotNetCore/tree/master/src/Examples/OpenApiKiotaClientExample).
185
185
186
186
---
187
187
@@ -214,7 +214,7 @@ For example, the following section puts the generated code in a namespace, makes
214
214
The available command-line switches for Kiota are described [here](https://learn.microsoft.com/en-us/openapi/kiota/using#client-generation).
215
215
216
216
At the time of writing, Kiota provides [no official integration](https://github.com/microsoft/kiota/issues/3005) with MSBuild.
217
-
Our [example project](https://github.com/json-api-dotnet/JsonApiDotNetCore/tree/openapi/src/Examples/OpenApiKiotaClientExample) takes a stab at it,
217
+
Our [example project](https://github.com/json-api-dotnet/JsonApiDotNetCore/tree/master/src/Examples/OpenApiKiotaClientExample) takes a stab at it,
218
218
which seems to work. If you're an MSBuild expert, please help out!
Due to a [bug in Kiota](https://github.com/microsoft/kiota/issues/4190), a try/catch block is needed additionally to make this work.
293
293
294
-
For a full example, see the [example project](https://github.com/json-api-dotnet/JsonApiDotNetCore/tree/openapi/src/Examples/OpenApiKiotaClientExample).
294
+
For a full example, see the [example project](https://github.com/json-api-dotnet/JsonApiDotNetCore/tree/master/src/Examples/OpenApiKiotaClientExample).
295
295
296
296
---
297
297
@@ -300,7 +300,7 @@ For a full example, see the [example project](https://github.com/json-api-dotnet
300
300
# [NSwag](#tab/nswag)
301
301
302
302
[Atomic operations](~/usage/writing/bulk-batch-operations.md) are fully supported.
303
-
The [example project](https://github.com/json-api-dotnet/JsonApiDotNetCore/tree/openapi/src/Examples/OpenApiNSwagClientExample)
303
+
The [example project](https://github.com/json-api-dotnet/JsonApiDotNetCore/tree/master/src/Examples/OpenApiNSwagClientExample)
304
304
demonstrates how to use them. It uses local IDs to:
305
305
- Create a new tag
306
306
- Create a new person
@@ -311,7 +311,7 @@ demonstrates how to use them. It uses local IDs to:
311
311
# [Kiota](#tab/kiota)
312
312
313
313
[Atomic operations](~/usage/writing/bulk-batch-operations.md) are fully supported.
314
-
See the [example project](https://github.com/json-api-dotnet/JsonApiDotNetCore/tree/openapi/src/Examples/OpenApiKiotaClientExample)
314
+
See the [example project](https://github.com/json-api-dotnet/JsonApiDotNetCore/tree/master/src/Examples/OpenApiKiotaClientExample)
315
315
demonstrates how to use them. It uses local IDs to:
0 commit comments