@@ -86,7 +86,7 @@ protected BaseJsonApiController(IJsonApiOptions options, IResourceGraph resource
8686 }
8787
8888 /// <summary>
89- /// Gets a collection of primary resources. Example: <code><![CDATA[
89+ /// Gets a collection of primary resources. Example request : <code language="http" ><![CDATA[
9090 /// GET /articles HTTP/1.1
9191 /// ]]></code>
9292 /// </summary>
@@ -105,7 +105,7 @@ public virtual async Task<IActionResult> GetAsync(CancellationToken cancellation
105105 }
106106
107107 /// <summary>
108- /// Gets a single primary resource by ID. Example: <code><![CDATA[
108+ /// Gets a single primary resource by ID. Example request : <code language="http" ><![CDATA[
109109 /// GET /articles/1 HTTP/1.1
110110 /// ]]></code>
111111 /// </summary>
@@ -127,10 +127,11 @@ public virtual async Task<IActionResult> GetAsync([DisallowNull] TId id, Cancell
127127 }
128128
129129 /// <summary>
130- /// Gets a secondary resource or collection of secondary resources. Example: <code><![CDATA[
130+ /// Gets a secondary resource or collection of secondary resources. Example request:
131+ /// <code language="http"><![CDATA[
131132 /// GET /articles/1/author HTTP/1.1
132- /// ]]></code> Example:
133- /// <code><![CDATA[
133+ /// ]]></code> Example request :
134+ /// <code language="http" ><![CDATA[
134135 /// GET /articles/1/revisions HTTP/1.1
135136 /// ]]></code>
136137 /// </summary>
@@ -156,11 +157,11 @@ public virtual async Task<IActionResult> GetSecondaryAsync([DisallowNull] TId id
156157 }
157158
158159 /// <summary>
159- /// Gets a relationship value, which can be a <c>null</c>, a single object or a collection. Example:
160- /// <code><![CDATA[
160+ /// Gets a relationship value, which can be a <c>null</c>, a single object or a collection. Example request :
161+ /// <code language="http" ><![CDATA[
161162 /// GET /articles/1/relationships/author HTTP/1.1
162- /// ]]></code> Example:
163- /// <code><![CDATA[
163+ /// ]]></code> Example request :
164+ /// <code language="http" ><![CDATA[
164165 /// GET /articles/1/relationships/revisions HTTP/1.1
165166 /// ]]></code>
166167 /// </summary>
@@ -186,7 +187,7 @@ public virtual async Task<IActionResult> GetRelationshipAsync([DisallowNull] TId
186187 }
187188
188189 /// <summary>
189- /// Creates a new resource with attributes, relationships or both. Example: <code><![CDATA[
190+ /// Creates a new resource with attributes, relationships or both. Example request : <code language="http" ><![CDATA[
190191 /// POST /articles HTTP/1.1
191192 /// ]]></code>
192193 /// </summary>
@@ -233,7 +234,7 @@ private string GetLocationUrl(string resourceId)
233234 }
234235
235236 /// <summary>
236- /// Adds resources to a to-many relationship. Example: <code><![CDATA[
237+ /// Adds resources to a to-many relationship. Example request : <code language="http" ><![CDATA[
237238 /// POST /articles/1/revisions HTTP/1.1
238239 /// ]]></code>
239240 /// </summary>
@@ -274,7 +275,7 @@ public virtual async Task<IActionResult> PostRelationshipAsync([DisallowNull] TI
274275
275276 /// <summary>
276277 /// Updates the attributes and/or relationships of an existing resource. Only the values of sent attributes are replaced. And only the values of sent
277- /// relationships are replaced. Example: <code><![CDATA[
278+ /// relationships are replaced. Example request : <code language="http" ><![CDATA[
278279 /// PATCH /articles/1 HTTP/1.1
279280 /// ]]></code>
280281 /// </summary>
@@ -304,11 +305,11 @@ public virtual async Task<IActionResult> PatchAsync([DisallowNull] TId id, [From
304305 }
305306
306307 /// <summary>
307- /// Performs a complete replacement of a relationship on an existing resource. Example:
308- /// <code><![CDATA[
308+ /// Performs a complete replacement of a relationship on an existing resource. Example request :
309+ /// <code language="http" ><![CDATA[
309310 /// PATCH /articles/1/relationships/author HTTP/1.1
310- /// ]]></code> Example:
311- /// <code><![CDATA[
311+ /// ]]></code> Example request :
312+ /// <code language="http" ><![CDATA[
312313 /// PATCH /articles/1/relationships/revisions HTTP/1.1
313314 /// ]]></code>
314315 /// </summary>
@@ -347,7 +348,7 @@ public virtual async Task<IActionResult> PatchRelationshipAsync([DisallowNull] T
347348 }
348349
349350 /// <summary>
350- /// Deletes an existing resource. Example: <code><![CDATA[
351+ /// Deletes an existing resource. Example request : <code language="http" ><![CDATA[
351352 /// DELETE /articles/1 HTTP/1.1
352353 /// ]]></code>
353354 /// </summary>
@@ -369,7 +370,8 @@ public virtual async Task<IActionResult> DeleteAsync([DisallowNull] TId id, Canc
369370 }
370371
371372 /// <summary>
372- /// Removes resources from a to-many relationship. Example: <code><![CDATA[
373+ /// Removes resources from a to-many relationship. Example request:
374+ /// <code language="http"><![CDATA[
373375 /// DELETE /articles/1/relationships/revisions HTTP/1.1
374376 /// ]]></code>
375377 /// </summary>
0 commit comments