Skip to content

Commit 24e820f

Browse files
committed
Auto-generated documentation from 453aa2a
1 parent df49165 commit 24e820f

12 files changed

Lines changed: 513 additions & 464 deletions

api/JsonApiDotNetCore.AtomicOperations.Processors.CreateProcessor-2.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77
<meta name="title" content="Class CreateProcessor&lt;TResource, TId&gt; ">
88

9-
<meta name="description" content="Processes a single operation to create a new resource with attributes, relationships or both.">
9+
<meta name="description" content="Processes a single operation to create a new resource with attributes, relationships, or both.">
1010
<link rel="icon" href="../favicon.ico">
1111
<link rel="stylesheet" href="../public/docfx.min.css">
1212
<link rel="stylesheet" href="../public/main.css">
@@ -100,7 +100,7 @@ <h1 id="JsonApiDotNetCore_AtomicOperations_Processors_CreateProcessor_2" data-ui
100100
<dl><dt>Assembly</dt><dd>JsonApiDotNetCore.dll</dd></dl>
101101
</div>
102102

103-
<div class="markdown summary"><p>Processes a single operation to create a new resource with attributes, relationships or both.</p>
103+
<div class="markdown summary"><p>Processes a single operation to create a new resource with attributes, relationships, or both.</p>
104104
</div>
105105
<div class="markdown conceptual"></div>
106106

api/JsonApiDotNetCore.AtomicOperations.Processors.ICreateProcessor-2.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77
<meta name="title" content="Interface ICreateProcessor&lt;TResource, TId&gt; ">
88

9-
<meta name="description" content="Processes a single operation to create a new resource with attributes, relationships or both.">
9+
<meta name="description" content="Processes a single operation to create a new resource with attributes, relationships, or both.">
1010
<link rel="icon" href="../favicon.ico">
1111
<link rel="stylesheet" href="../public/docfx.min.css">
1212
<link rel="stylesheet" href="../public/main.css">
@@ -100,7 +100,7 @@ <h1 id="JsonApiDotNetCore_AtomicOperations_Processors_ICreateProcessor_2" data-u
100100
<dl><dt>Assembly</dt><dd>JsonApiDotNetCore.dll</dd></dl>
101101
</div>
102102

103-
<div class="markdown summary"><p>Processes a single operation to create a new resource with attributes, relationships or both.</p>
103+
<div class="markdown summary"><p>Processes a single operation to create a new resource with attributes, relationships, or both.</p>
104104
</div>
105105
<div class="markdown conceptual"></div>
106106

api/JsonApiDotNetCore.AtomicOperations.Processors.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ <h3 id="classes">
104104
</dl>
105105
<dl class="jumplist">
106106
<dt><a class="xref" href="JsonApiDotNetCore.AtomicOperations.Processors.CreateProcessor-2.html">CreateProcessor&lt;TResource, TId&gt;</a></dt>
107-
<dd><p>Processes a single operation to create a new resource with attributes, relationships or both.</p>
107+
<dd><p>Processes a single operation to create a new resource with attributes, relationships, or both.</p>
108108
</dd>
109109
</dl>
110110
<dl class="jumplist">
@@ -138,7 +138,7 @@ <h3 id="interfaces">
138138
</dl>
139139
<dl class="jumplist">
140140
<dt><a class="xref" href="JsonApiDotNetCore.AtomicOperations.Processors.ICreateProcessor-2.html">ICreateProcessor&lt;TResource, TId&gt;</a></dt>
141-
<dd><p>Processes a single operation to create a new resource with attributes, relationships or both.</p>
141+
<dd><p>Processes a single operation to create a new resource with attributes, relationships, or both.</p>
142142
</dd>
143143
</dl>
144144
<dl class="jumplist">

api/JsonApiDotNetCore.Controllers.BaseJsonApiController-2.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1023,7 +1023,7 @@ <h3 id="JsonApiDotNetCore_Controllers_BaseJsonApiController_2_GetRelationshipAsy
10231023
<a class="header-action link-secondary" title="View source" href="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Controllers/BaseJsonApiController.cs/#L178"><i class="bi bi-code-slash"></i></a>
10241024
</h3>
10251025

1026-
<div class="markdown level1 summary"><p>Gets a relationship value, which can be a <code>null</code>, a single object or a collection.</p>
1026+
<div class="markdown level1 summary"><p>Gets a relationship value, which can be <code>null</code>, a single object or a collection.</p>
10271027
<p>
10281028
Example endpoints: <pre><code class="lang-http">GET /articles/1/relationships/author HTTP/1.1</code></pre>
10291029
<pre><code class="lang-http">GET /articles/1/relationships/revisions HTTP/1.1</code></pre>
@@ -1209,7 +1209,7 @@ <h3 id="JsonApiDotNetCore_Controllers_BaseJsonApiController_2_PostAsync__0_Syste
12091209
<a class="header-action link-secondary" title="View source" href="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Controllers/BaseJsonApiController.cs/#L207"><i class="bi bi-code-slash"></i></a>
12101210
</h3>
12111211

1212-
<div class="markdown level1 summary"><p>Creates a new resource with attributes, relationships or both.</p>
1212+
<div class="markdown level1 summary"><p>Creates a new resource with attributes, relationships, or both.</p>
12131213
<p>
12141214
Example endpoint: <pre><code class="lang-http">POST /articles HTTP/1.1</code></pre>
12151215

api/JsonApiDotNetCore.Controllers.JsonApiController-2.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1022,7 +1022,7 @@ <h3 id="JsonApiDotNetCore_Controllers_JsonApiController_2_GetRelationshipAsync__
10221022
<a class="header-action link-secondary" title="View source" href="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Controllers/JsonApiController.cs/#L71"><i class="bi bi-code-slash"></i></a>
10231023
</h3>
10241024

1025-
<div class="markdown level1 summary"><p>Gets a relationship value, which can be a <code>null</code>, a single object or a collection.</p>
1025+
<div class="markdown level1 summary"><p>Gets a relationship value, which can be <code>null</code>, a single object or a collection.</p>
10261026
<p>
10271027
Example endpoints: <pre><code class="lang-http">GET /articles/1/relationships/author HTTP/1.1</code></pre>
10281028
<pre><code class="lang-http">GET /articles/1/relationships/revisions HTTP/1.1</code></pre>
@@ -1214,7 +1214,7 @@ <h3 id="JsonApiDotNetCore_Controllers_JsonApiController_2_PostAsync__0_System_Th
12141214
<a class="header-action link-secondary" title="View source" href="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Controllers/JsonApiController.cs/#L80"><i class="bi bi-code-slash"></i></a>
12151215
</h3>
12161216

1217-
<div class="markdown level1 summary"><p>Creates a new resource with attributes, relationships or both.</p>
1217+
<div class="markdown level1 summary"><p>Creates a new resource with attributes, relationships, or both.</p>
12181218
<p>
12191219
Example endpoint: <pre><code class="lang-http">POST /articles HTTP/1.1</code></pre>
12201220

api/JsonApiDotNetCore.Controllers.JsonApiEndpoints.html

Lines changed: 66 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77
<meta name="title" content="Enum JsonApiEndpoints ">
88

9-
9+
<meta name="description" content="Lists the built-in JSON:API endpoints, described at https://jsonapi.org/format.">
1010
<link rel="icon" href="../favicon.ico">
1111
<link rel="stylesheet" href="../public/docfx.min.css">
1212
<link rel="stylesheet" href="../public/main.css">
@@ -93,15 +93,16 @@ <h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
9393

9494

9595
<h1 id="JsonApiDotNetCore_Controllers_JsonApiEndpoints" data-uid="JsonApiDotNetCore.Controllers.JsonApiEndpoints" class="text-break">
96-
Enum JsonApiEndpoints <a class="header-action link-secondary" title="View source" href="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore.Annotations/Controllers/JsonApiEndpoints.shared.cs/#L6"><i class="bi bi-code-slash"></i></a>
96+
Enum JsonApiEndpoints <a class="header-action link-secondary" title="View source" href="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore.Annotations/Controllers/JsonApiEndpoints.shared.cs/#L8"><i class="bi bi-code-slash"></i></a>
9797
</h1>
9898

9999
<div class="facts text-secondary">
100100
<dl><dt>Namespace</dt><dd><a class="xref" href="JsonApiDotNetCore.html">JsonApiDotNetCore</a>.<a class="xref" href="JsonApiDotNetCore.Controllers.html">Controllers</a></dd></dl>
101101
<dl><dt>Assembly</dt><dd>JsonApiDotNetCore.Annotations.dll</dd></dl>
102102
</div>
103103

104-
<div class="markdown summary"></div>
104+
<div class="markdown summary"><p>Lists the built-in JSON:API endpoints, described at <a href="https://jsonapi.org/format">https://jsonapi.org/format</a>.</p>
105+
</div>
105106
<div class="markdown conceptual"></div>
106107

107108
<div class="codewrapper">
@@ -123,54 +124,101 @@ <h2 id="fields">Fields
123124
<dl class="parameters">
124125
<dt id="JsonApiDotNetCore_Controllers_JsonApiEndpoints_All"><code>All = Query | Command</code></dt>
125126

126-
<dd></dd>
127+
<dd><p>Represents all JSON:API endpoints.</p>
128+
</dd>
127129
<dt id="JsonApiDotNetCore_Controllers_JsonApiEndpoints_Command"><code>Command = Post | PostRelationship | Patch | PatchRelationship | Delete | DeleteRelationship</code></dt>
128130

129-
<dd></dd>
131+
<dd><p>Represents the set of JSON:API endpoints to change resources and relationships.</p>
132+
</dd>
130133
<dt id="JsonApiDotNetCore_Controllers_JsonApiEndpoints_Delete"><code>Delete = 256</code></dt>
131134

132-
<dd></dd>
135+
<dd><p>Represents the endpoint to delete an existing resource.</p>
136+
<p>
137+
Example endpoint: <pre><code class="lang-http">DELETE /articles/1 HTTP/1.1</code></pre>
138+
139+
</dd>
133140
<dt id="JsonApiDotNetCore_Controllers_JsonApiEndpoints_DeleteRelationship"><code>DeleteRelationship = 512</code></dt>
134141

135-
<dd></dd>
142+
<dd><p>Represents the endpoint to remove resources from a to-many relationship.</p>
143+
<p>
144+
Example endpoint: <pre><code class="lang-http">DELETE /articles/1/relationships/revisions HTTP/1.1</code></pre>
145+
146+
</dd>
136147
<dt id="JsonApiDotNetCore_Controllers_JsonApiEndpoints_GetCollection"><code>GetCollection = 1</code></dt>
137148

138-
<dd></dd>
149+
<dd><p>Represents the endpoint to get a collection of primary resources.</p>
150+
<p>
151+
Example endpoint: <pre><code class="lang-http">GET /articles HTTP/1.1</code></pre>
152+
153+
</dd>
139154
<dt id="JsonApiDotNetCore_Controllers_JsonApiEndpoints_GetRelationship"><code>GetRelationship = 8</code></dt>
140155

141-
<dd></dd>
156+
<dd><p>Represents the endpoint to get a relationship value.</p>
157+
<p>
158+
Example endpoints: <pre><code class="lang-http">GET /articles/1/relationships/author HTTP/1.1</code></pre>
159+
<pre><code class="lang-http">GET /articles/1/relationships/revisions HTTP/1.1</code></pre>
160+
161+
</dd>
142162
<dt id="JsonApiDotNetCore_Controllers_JsonApiEndpoints_GetSecondary"><code>GetSecondary = 4</code></dt>
143163

144-
<dd></dd>
164+
<dd><p>Represents the endpoint to get a secondary resource or collection of secondary resources.</p>
165+
<p>
166+
Example endpoints: <pre><code class="lang-http">GET /articles/1/author HTTP/1.1</code></pre>
167+
<pre><code class="lang-http">GET /articles/1/revisions HTTP/1.1</code></pre>
168+
169+
</dd>
145170
<dt id="JsonApiDotNetCore_Controllers_JsonApiEndpoints_GetSingle"><code>GetSingle = 2</code></dt>
146171

147-
<dd></dd>
172+
<dd><p>Represents the endpoint to get a single primary resource by ID.</p>
173+
<p>
174+
Example endpoint: <pre><code class="lang-http">GET /articles/1 HTTP/1.1</code></pre>
175+
176+
</dd>
148177
<dt id="JsonApiDotNetCore_Controllers_JsonApiEndpoints_None"><code>None = 0</code></dt>
149178

150-
<dd></dd>
179+
<dd><p>Represents none of the JSON:API endpoints.</p>
180+
</dd>
151181
<dt id="JsonApiDotNetCore_Controllers_JsonApiEndpoints_Patch"><code>Patch = 64</code></dt>
152182

153-
<dd></dd>
183+
<dd><p>Represents the endpoint to update the attributes and/or relationships of an existing resource.</p>
184+
<p>
185+
Example endpoint: <pre><code class="lang-http">PATCH /articles/1 HTTP/1.1</code></pre>
186+
187+
</dd>
154188
<dt id="JsonApiDotNetCore_Controllers_JsonApiEndpoints_PatchRelationship"><code>PatchRelationship = 128</code></dt>
155189

156-
<dd></dd>
190+
<dd><p>Represents the endpoint to perform a complete replacement of a relationship on an existing resource.</p>
191+
<p>
192+
Example endpoints: <pre><code class="lang-http">PATCH /articles/1/relationships/author HTTP/1.1</code></pre>
193+
<pre><code class="lang-http">PATCH /articles/1/relationships/revisions HTTP/1.1</code></pre>
194+
195+
</dd>
157196
<dt id="JsonApiDotNetCore_Controllers_JsonApiEndpoints_Post"><code>Post = 16</code></dt>
158197

159-
<dd></dd>
198+
<dd><p>Represents the endpoint to create a new resource with attributes, relationships, or both.</p>
199+
<p>
200+
Example endpoint: <pre><code class="lang-http">POST /articles HTTP/1.1</code></pre>
201+
202+
</dd>
160203
<dt id="JsonApiDotNetCore_Controllers_JsonApiEndpoints_PostRelationship"><code>PostRelationship = 32</code></dt>
161204

162-
<dd></dd>
205+
<dd><p>Represents the endpoint to add resources to a to-many relationship.</p>
206+
<p>
207+
Example endpoint: <pre><code class="lang-http">POST /articles/1/revisions HTTP/1.1</code></pre>
208+
209+
</dd>
163210
<dt id="JsonApiDotNetCore_Controllers_JsonApiEndpoints_Query"><code>Query = GetCollection | GetSingle | GetSecondary | GetRelationship</code></dt>
164211

165-
<dd></dd>
212+
<dd><p>Represents the set of JSON:API endpoints to query resources and relationships.</p>
213+
</dd>
166214
</dl>
167215

168216

169217

170218
</article>
171219

172220
<div class="contribution d-print-none">
173-
<a href="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore.Annotations/Controllers/JsonApiEndpoints.shared.cs/#L6" class="edit-link">Edit this page</a>
221+
<a href="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore.Annotations/Controllers/JsonApiEndpoints.shared.cs/#L8" class="edit-link">Edit this page</a>
174222
</div>
175223

176224

api/JsonApiDotNetCore.Controllers.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,8 @@ <h3 id="enums">
146146
</h3>
147147
<dl class="jumplist">
148148
<dt><a class="xref" href="JsonApiDotNetCore.Controllers.JsonApiEndpoints.html">JsonApiEndpoints</a></dt>
149-
<dd></dd>
149+
<dd><p>Lists the built-in JSON:API endpoints, described at <a href="https://jsonapi.org/format">https://jsonapi.org/format</a>.</p>
150+
</dd>
150151
</dl>
151152

152153

api/JsonApiDotNetCore.Middleware.WriteOperationKind.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ <h2 id="fields">Fields
127127
</dd>
128128
<dt id="JsonApiDotNetCore_Middleware_WriteOperationKind_CreateResource"><code>CreateResource = 0</code></dt>
129129

130-
<dd><p>Create a new resource with attributes, relationships or both.</p>
130+
<dd><p>Create a new resource with attributes, relationships, or both.</p>
131131
</dd>
132132
<dt id="JsonApiDotNetCore_Middleware_WriteOperationKind_DeleteResource"><code>DeleteResource = 2</code></dt>
133133

api/JsonApiDotNetCore.Services.ICreateService-2.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ <h3 id="JsonApiDotNetCore_Services_ICreateService_2_CreateAsync__0_System_Thread
137137
<a class="header-action link-secondary" title="View source" href="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Services/ICreateService.cs/#L12"><i class="bi bi-code-slash"></i></a>
138138
</h3>
139139

140-
<div class="markdown level1 summary"><p>Handles a JSON:API request to create a new resource with attributes, relationships or both.</p>
140+
<div class="markdown level1 summary"><p>Handles a JSON:API request to create a new resource with attributes, relationships, or both.</p>
141141
</div>
142142
<div class="markdown level1 conceptual"></div>
143143

api/JsonApiDotNetCore.Services.JsonApiResourceService-2.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ <h3 id="JsonApiDotNetCore_Services_JsonApiResourceService_2_CreateAsync__0_Syste
401401
<a class="header-action link-secondary" title="View source" href="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Services/JsonApiResourceService.cs/#L221"><i class="bi bi-code-slash"></i></a>
402402
</h3>
403403

404-
<div class="markdown level1 summary"><p>Handles a JSON:API request to create a new resource with attributes, relationships or both.</p>
404+
<div class="markdown level1 summary"><p>Handles a JSON:API request to create a new resource with attributes, relationships, or both.</p>
405405
</div>
406406
<div class="markdown level1 conceptual"></div>
407407

0 commit comments

Comments
 (0)