Skip to content

Commit 748d2df

Browse files
committed
Address PR comments
1 parent e2ec1c4 commit 748d2df

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ public enum JsonApiEndpoints
3333
/// Represents the endpoint to get a secondary resource or collection of secondary resources. Example:
3434
/// <code><![CDATA[
3535
/// GET /articles/1/author HTTP/1.1
36+
/// ]]></code> Example: <code><![CDATA[
37+
/// GET /articles/1/revisions HTTP/1.1
3638
/// ]]></code>
3739
/// </summary>
3840
GetSecondary = 1 << 2,
@@ -48,7 +50,7 @@ public enum JsonApiEndpoints
4850
GetRelationship = 1 << 3,
4951

5052
/// <summary>
51-
/// Represents the endpoint to creates a new resource with attributes, relationships or both. Example:
53+
/// Represents the endpoint to create a new resource with attributes, relationships or both. Example:
5254
/// <code><![CDATA[
5355
/// POST /articles HTTP/1.1
5456
/// ]]></code>

src/JsonApiDotNetCore.SourceGenerators/JsonApiEndpointsCopy.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ public enum JsonApiEndpointsCopy
2727
/// Represents the endpoint to get a secondary resource or collection of secondary resources. Example:
2828
/// <code><![CDATA[
2929
/// GET /articles/1/author HTTP/1.1
30+
/// ]]></code> Example: <code><![CDATA[
31+
/// GET /articles/1/revisions HTTP/1.1
3032
/// ]]></code>
3133
/// </summary>
3234
GetSecondary = 1 << 2,
@@ -42,7 +44,7 @@ public enum JsonApiEndpointsCopy
4244
GetRelationship = 1 << 3,
4345

4446
/// <summary>
45-
/// Represents the endpoint to creates a new resource with attributes, relationships or both. Example:
47+
/// Represents the endpoint to create a new resource with attributes, relationships or both. Example:
4648
/// <code><![CDATA[
4749
/// POST /articles HTTP/1.1
4850
/// ]]></code>

0 commit comments

Comments
 (0)