Skip to content

Commit 34b97a6

Browse files
committed
Fix some typos
1 parent 550f6d5 commit 34b97a6

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

_format/1.1/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2155,10 +2155,10 @@ least one of:
21552155
* `id`: a unique identifier for this particular occurrence of the problem.
21562156
* `links`: a [links object][links] that **MAY** contain the following members:
21572157
* `about`: a [link][link] that leads to further details about this
2158-
particular occurrence of the problem. When derefenced, this URI **SHOULD**
2158+
particular occurrence of the problem. When dereferenced, this URI **SHOULD**
21592159
return a human-readable description of the error.
21602160
* `type`: a [link][link] that identifies the type of error that this
2161-
particular error is an instance of. This URI **SHOULD** be dereferencable to
2161+
particular error is an instance of. This URI **SHOULD** be dereferenceable to
21622162
a human-readable explanation of the general error.
21632163
* `status`: the HTTP status code applicable to this problem, expressed as a
21642164
string value. This **SHOULD** be provided.
@@ -2210,7 +2210,7 @@ parsing algorithm. The resulting value might not be a string.
22102210
> as delimiters. These issues motivate the exception that JSON:API defines above.
22112211
22122212
Similarly, to serialize a query parameter into a URI, an implementation **MUST**
2213-
use the [the `application/x-www-form-urlencoded` serializer](https://url.spec.whatwg.org/#concept-urlencoded-serializer),
2213+
use [the `application/x-www-form-urlencoded` serializer](https://url.spec.whatwg.org/#concept-urlencoded-serializer),
22142214
with the corresponding exception that a parameter's value — but not its name —
22152215
may be serialized differently than that algorithm requires, provided the
22162216
serialization does not interfere with the ability to parse back the resulting URI.
@@ -2247,7 +2247,7 @@ request as equivalent to one in which the square brackets were percent-encoded.
22472247
[profiles]: #profiles
22482248
[error details]: #errors
22492249
[error object]: #error-objects
2250-
[error objects]: #errror-objects
2250+
[error objects]: #error-objects
22512251
[member names]: #document-member-names
22522252
[pagination]: #fetching-pagination
22532253
[query parameter family]: #query-parameters-families

_format/1.2/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2171,10 +2171,10 @@ least one of:
21712171
* `id`: a unique identifier for this particular occurrence of the problem.
21722172
* `links`: a [links object][links] that **MAY** contain the following members:
21732173
* `about`: a [link][link] that leads to further details about this
2174-
particular occurrence of the problem. When derefenced, this URI **SHOULD**
2174+
particular occurrence of the problem. When dereferenced, this URI **SHOULD**
21752175
return a human-readable description of the error.
21762176
* `type`: a [link][link] that identifies the type of error that this
2177-
particular error is an instance of. This URI **SHOULD** be dereferencable to
2177+
particular error is an instance of. This URI **SHOULD** be dereferenceable to
21782178
a human-readable explanation of the general error.
21792179
* `status`: the HTTP status code applicable to this problem, expressed as a
21802180
string value. This **SHOULD** be provided.
@@ -2226,7 +2226,7 @@ parsing algorithm. The resulting value might not be a string.
22262226
> as delimiters. These issues motivate the exception that JSON:API defines above.
22272227
22282228
Similarly, to serialize a query parameter into a URI, an implementation **MUST**
2229-
use the [the `application/x-www-form-urlencoded` serializer](https://url.spec.whatwg.org/#concept-urlencoded-serializer),
2229+
use [the `application/x-www-form-urlencoded` serializer](https://url.spec.whatwg.org/#concept-urlencoded-serializer),
22302230
with the corresponding exception that a parameter's value — but not its name —
22312231
may be serialized differently than that algorithm requires, provided the
22322232
serialization does not interfere with the ability to parse back the resulting URI.
@@ -2263,7 +2263,7 @@ request as equivalent to one in which the square brackets were percent-encoded.
22632263
[profiles]: #profiles
22642264
[error details]: #errors
22652265
[error object]: #error-objects
2266-
[error objects]: #errror-objects
2266+
[error objects]: #error-objects
22672267
[member names]: #document-member-names
22682268
[pagination]: #fetching-pagination
22692269
[query parameter family]: #query-parameters-families

_layouts/page.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ <h2>A specification for building APIs in JSON</h2>
4747
<div class="sidebar">
4848
<nav class="document-outline" id="document-outline">
4949
{% comment %}
50-
Substite the version picker for the sidebar title on spec pages.
50+
Substitute the version picker for the sidebar title on spec pages.
5151
{% endcomment %}
5252
{% if page.is_spec_page %}
5353
<div id="version-picker-wrapper" class="sidebar-top">

examples/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,10 +284,10 @@ The `code` member of an error object contains an application-specific code
284284
representing the type of problem encountered. `code` is similar to `title`
285285
in that both identify a general type of problem (unlike `detail`, which is
286286
specific to the particular instance of the problem), but dealing with `code`
287-
is easier programatically, because the "same" `title` may appear in different
287+
is easier programmatically, because the "same" `title` may appear in different
288288
forms due to localization.
289289

290-
For the example below, imagine the API docs specifed the following mapping:
290+
For the example below, imagine the API docs specified the following mapping:
291291

292292
| Code | Problem |
293293
|------|-----------------------------------------------------------|

implementations/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ and writing of JSON:API documents.
215215
* [Yaks](https://github.com/plexus/yaks) Library for building hypermedia APIs, contains a JSON:API output format.
216216
* [JSONAPI::Serializers](https://github.com/fotinakis/jsonapi-serializers) provides a pure Ruby, readonly serializer implementation.
217217
* [JSONAPI::Realizer](https://github.com/krainboltgreene/jsonapi-realizer) provides a pure Ruby pattern for turning JSON:API requests into models (has active record support and rails instructions)
218-
* [Roar](https://github.com/apotonick/roar) Renders and parses represenations of Ruby objects
218+
* [Roar](https://github.com/apotonick/roar) Renders and parses representations of Ruby objects
219219
* [Jbuilder::JsonAPI](https://github.com/vladfaust/jbuilder-json_api) Simple & lightweight extension for Jbuilder
220220
* [jsonapi-rb](http://jsonapi-rb.org) Ruby library for efficiently building and consuming JSON:API documents - with Rails and Hanami integrations.
221221
* [fast_jsonapi](https://github.com/Netflix/fast_jsonapi) A lightning fast JSON:API serializer for Ruby Objects.

recommendations/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ GET /photos/jobs/5234 HTTP/1.1
234234
Accept: application/vnd.api+json
235235
```
236236

237-
Requests for still-pending jobs **SHOULD** return a status `200 OK`, as the server is reporting the status successfully. Optionally, the server can return a `Retry-After` header to provide guidance to the client as to how long it should wait before checking again. Recommendations to retry sooner than 1 second can be accomplised with `Retry-After: 0`.
237+
Requests for still-pending jobs **SHOULD** return a status `200 OK`, as the server is reporting the status successfully. Optionally, the server can return a `Retry-After` header to provide guidance to the client as to how long it should wait before checking again. Recommendations to retry sooner than 1 second can be accomplished with `Retry-After: 0`.
238238

239239
```http
240240
HTTP/1.1 200 OK

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy