Skip to content

Commit b48e569

Browse files
committed
Trim trailing whitespace from files
1 parent cca3908 commit b48e569

File tree

9 files changed

+12
-12
lines changed

9 files changed

+12
-12
lines changed

.github/CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Bugs are tracked as [GitHub issues](https://github.com/json-api-dotnet/JsonApiDo
2222
Explain the problem and include additional details to help maintainers reproduce the problem:
2323

2424
- **Use a clear and descriptive title** for the issue to identify the problem.
25-
- **Describe the exact steps which reproduce the problem** in as many details as possible. When listing steps, don't just say what you did, but explain how you did it.
25+
- **Describe the exact steps which reproduce the problem** in as many details as possible. When listing steps, don't just say what you did, but explain how you did it.
2626
- **Provide specific examples to demonstrate the steps.** Include links to files or GitHub projects, or copy/pasteable snippets, which you use in those examples. If you're providing snippets in the issue, use [Markdown code blocks](https://docs.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks).
2727
- **Describe the behavior you observed after following the steps** and point out what exactly is the problem with that behavior. Explain which behavior you expected to see instead and why.
2828
- **If you're reporting a crash**, include the full exception stack trace.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ To try it out, follow the steps below:
109109
In the command above:
110110
- Replace YOUR-GITHUB-USERNAME with the username you use to login your GitHub account.
111111
- Replace YOUR-PAT-CLASSIC with the token your created above.
112-
112+
113113
:warning: If the above command doesn't give you access in the next step, remove the package source by running:
114114
```bash
115115
dotnet nuget remove source github-json-api

docs/usage/extensibility/middleware.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
The default middleware validates incoming `Content-Type` and `Accept` HTTP headers.
44
Based on routing configuration, it fills `IJsonApiRequest`, an injectable object that contains JSON:API-related information about the request being processed.
55

6-
It is possible to replace the built-in middleware components by configuring the IoC container and by configuring `MvcOptions`.
6+
It is possible to replace the built-in middleware components by configuring the IoC container and by configuring `MvcOptions`.
77

8-
## Configuring the IoC container
8+
## Configuring the IoC container
99

1010
The following example replaces the internal exception filter with a custom implementation.
1111

docs/usage/extensibility/resource-definitions.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ For various reasons (see examples below) you may need to change parts of the que
2929
`JsonApiResourceDefinition<TResource, TId>` (which is an empty implementation of `IResourceDefinition<TResource, TId>`) provides overridable methods that pass you the result of query string parameter parsing.
3030
The value returned by you determines what will be used to execute the query.
3131
32-
An intermediate format (`QueryExpression` and derived types) is used, which enables us to separate JSON:API implementation
32+
An intermediate format (`QueryExpression` and derived types) is used, which enables us to separate JSON:API implementation
3333
from Entity Framework Core `IQueryable` execution.
3434
3535
### Excluding fields
@@ -220,7 +220,7 @@ You can define additional query string parameters with the LINQ expression that
220220
If the key is present in a query string, the supplied LINQ expression will be added to the database query.
221221

222222
> [!NOTE]
223-
> This directly influences the Entity Framework Core `IQueryable`. As opposed to using `OnApplyFilter`, this enables the full range of Entity Framework Core operators.
223+
> This directly influences the Entity Framework Core `IQueryable`. As opposed to using `OnApplyFilter`, this enables the full range of Entity Framework Core operators.
224224
But it only works on primary resource endpoints (for example: /articles, but not on /blogs/1/articles or /blogs?include=articles).
225225

226226
```c#

docs/usage/reading/filtering.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ The next request returns all customers that have orders -or- whose last name is
6060
GET /customers?filter=has(orders)&filter=equals(lastName,'Smith') HTTP/1.1
6161
```
6262

63-
Aside from filtering on the resource being requested (which would be blogs in /blogs and articles in /blogs/1/articles),
63+
Aside from filtering on the resource being requested (which would be blogs in /blogs and articles in /blogs/1/articles),
6464
filtering on to-many relationships can be done using bracket notation:
6565

6666
```http

docs/usage/resource-graph.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ There are three ways the resource graph can be created:
1414
2. Specifying an entire DbContext
1515
3. Manually specifying each resource
1616

17-
It is also possible to combine the three of them at once. Be aware that some configuration might overlap,
17+
It is also possible to combine the three of them at once. Be aware that some configuration might overlap,
1818
for example one could manually add a resource to the graph which is also auto-discovered. In such a scenario, the configuration
1919
is prioritized by the list above in descending order.
2020

docs/usage/resources/relationships.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,8 @@ public class TodoItem : Identifiable<int>
261261

262262
_since v5.1_
263263

264-
Default JSON:API relationship capabilities are specified in
265-
@JsonApiDotNetCore.Configuration.JsonApiOptions#JsonApiDotNetCore_Configuration_JsonApiOptions_DefaultHasOneCapabilities and
264+
Default JSON:API relationship capabilities are specified in
265+
@JsonApiDotNetCore.Configuration.JsonApiOptions#JsonApiDotNetCore_Configuration_JsonApiOptions_DefaultHasOneCapabilities and
266266
@JsonApiDotNetCore.Configuration.JsonApiOptions#JsonApiDotNetCore_Configuration_JsonApiOptions_DefaultHasManyCapabilities:
267267

268268
```c#

docs/usage/writing/bulk-batch-operations.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public sealed class OperationsController : JsonApiOperationsController
2828
}
2929
```
3030

31-
> [!IMPORTANT]
31+
> [!IMPORTANT]
3232
> Since v5.6.0, the set of exposed operations is based on
3333
> [`GenerateControllerEndpoints` usage](~/usage/extensibility/controllers.md#resource-access-control).
3434
> Earlier versions always exposed all operations for all resource types.

test/SourceGeneratorTests/ControllerGenerationTests.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ public sealed class Item : Identifiable<long>
225225
{
226226
private const JsonApiEndpoints NoRelationshipEndpoints = JsonApiEndpoints.GetCollection |
227227
JsonApiEndpoints.GetSingle | JsonApiEndpoints.Post | JsonApiEndpoints.Patch | JsonApiEndpoints.Delete;
228-
228+
229229
[Attr]
230230
public int Value { get; set; }
231231
}

0 commit comments

Comments
 (0)