Skip to content

Commit e2ec1c4

Browse files
committed
Run cleanupcode
1 parent a56e1f4 commit e2ec1c4

File tree

2 files changed

+20
-10
lines changed

2 files changed

+20
-10
lines changed

src/JsonApiDotNetCore.Annotations/Controllers/JsonApiEndpoints.shared.cs

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ public enum JsonApiEndpoints
3030
GetSingle = 1 << 1,
3131

3232
/// <summary>
33-
/// Represents the endpoint to get a secondary resource or collection of secondary resources. Example: <code><![CDATA[
33+
/// Represents the endpoint to get a secondary resource or collection of secondary resources. Example:
34+
/// <code><![CDATA[
3435
/// GET /articles/1/author HTTP/1.1
3536
/// ]]></code>
3637
/// </summary>
@@ -47,7 +48,8 @@ public enum JsonApiEndpoints
4748
GetRelationship = 1 << 3,
4849

4950
/// <summary>
50-
/// Represents the endpoint to creates a new resource with attributes, relationships or both. Example: <code><![CDATA[
51+
/// Represents the endpoint to creates a new resource with attributes, relationships or both. Example:
52+
/// <code><![CDATA[
5153
/// POST /articles HTTP/1.1
5254
/// ]]></code>
5355
/// </summary>
@@ -61,14 +63,16 @@ public enum JsonApiEndpoints
6163
PostRelationship = 1 << 5,
6264

6365
/// <summary>
64-
/// Represents the endpoint to update the attributes and/or relationships of an existing resource. Example: <code><![CDATA[
66+
/// Represents the endpoint to update the attributes and/or relationships of an existing resource. Example:
67+
/// <code><![CDATA[
6568
/// PATCH /articles/1
6669
/// ]]></code>
6770
/// </summary>
6871
Patch = 1 << 6,
6972

7073
/// <summary>
71-
/// Represents the endpoint to perform a complete replacement of a relationship on an existing resource. Example: <code><![CDATA[
74+
/// Represents the endpoint to perform a complete replacement of a relationship on an existing resource. Example:
75+
/// <code><![CDATA[
7276
/// PATCH /articles/1/relationships/author HTTP/1.1
7377
/// ]]></code> Example:
7478
/// <code><![CDATA[
@@ -85,7 +89,8 @@ public enum JsonApiEndpoints
8589
Delete = 1 << 8,
8690

8791
/// <summary>
88-
/// Represents the endpoint to remove resources from a to-many relationship. Example: <code><![CDATA[
92+
/// Represents the endpoint to remove resources from a to-many relationship. Example:
93+
/// <code><![CDATA[
8994
/// DELETE /articles/1/relationships/revisions
9095
/// ]]></code>
9196
/// </summary>

src/JsonApiDotNetCore.SourceGenerators/JsonApiEndpointsCopy.cs

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ public enum JsonApiEndpointsCopy
2424
GetSingle = 1 << 1,
2525

2626
/// <summary>
27-
/// Represents the endpoint to get a secondary resource or collection of secondary resources. Example: <code><![CDATA[
27+
/// Represents the endpoint to get a secondary resource or collection of secondary resources. Example:
28+
/// <code><![CDATA[
2829
/// GET /articles/1/author HTTP/1.1
2930
/// ]]></code>
3031
/// </summary>
@@ -41,7 +42,8 @@ public enum JsonApiEndpointsCopy
4142
GetRelationship = 1 << 3,
4243

4344
/// <summary>
44-
/// Represents the endpoint to creates a new resource with attributes, relationships or both. Example: <code><![CDATA[
45+
/// Represents the endpoint to creates a new resource with attributes, relationships or both. Example:
46+
/// <code><![CDATA[
4547
/// POST /articles HTTP/1.1
4648
/// ]]></code>
4749
/// </summary>
@@ -55,14 +57,16 @@ public enum JsonApiEndpointsCopy
5557
PostRelationship = 1 << 5,
5658

5759
/// <summary>
58-
/// Represents the endpoint to update the attributes and/or relationships of an existing resource. Example: <code><![CDATA[
60+
/// Represents the endpoint to update the attributes and/or relationships of an existing resource. Example:
61+
/// <code><![CDATA[
5962
/// PATCH /articles/1
6063
/// ]]></code>
6164
/// </summary>
6265
Patch = 1 << 6,
6366

6467
/// <summary>
65-
/// Represents the endpoint to perform a complete replacement of a relationship on an existing resource. Example: <code><![CDATA[
68+
/// Represents the endpoint to perform a complete replacement of a relationship on an existing resource. Example:
69+
/// <code><![CDATA[
6670
/// PATCH /articles/1/relationships/author HTTP/1.1
6771
/// ]]></code> Example:
6872
/// <code><![CDATA[
@@ -79,7 +83,8 @@ public enum JsonApiEndpointsCopy
7983
Delete = 1 << 8,
8084

8185
/// <summary>
82-
/// Represents the endpoint to remove resources from a to-many relationship. Example: <code><![CDATA[
86+
/// Represents the endpoint to remove resources from a to-many relationship. Example:
87+
/// <code><![CDATA[
8388
/// DELETE /articles/1/relationships/revisions
8489
/// ]]></code>
8590
/// </summary>

0 commit comments

Comments
 (0)