Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cb0624b

Browse files
authored
Merge pull request #697 from zalando/scop-spelling-and-grammar
spelling and grammar fixes
2 parents 9e2b37a + ee973b7 commit cb0624b

File tree

7 files changed

+13
-13
lines changed

7 files changed

+13
-13
lines changed

chapters/general-guidelines.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,4 @@ compatibility (<<176>> on how to replace).
108108

109109
As we control these URLs, we ensure that their content is *durable* and
110110
*immutable*. This allows to define API specifications by using fragments
111-
published via this sources, as suggested in <<151>>.
111+
published via these sources, as suggested in <<151>>.

chapters/http-headers.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ components:
282282
string with enough entropy to avoid collisions.
283283
284284
Idempotency keys expire after 24 hours. Clients are responsible to stay
285-
within this limits, if they require idempotent behavior.
285+
within this limit, if they require idempotent behavior.
286286
287287
type: string
288288
format: uuid
@@ -467,7 +467,7 @@ The following formats are allowed:
467467
* Random unique string restricted to the character set `[a-zA-Z0-9/+_-=]` maximal of 128 characters.
468468

469469
*Note:* If a legacy subsystem can only process `Flow-IDs` with a specific
470-
format or length, it must define this restrictions in its API specification,
470+
format or length, it must define this restriction in its API specification,
471471
and be generous and remove invalid characters or cut the length to the
472472
supported limit.
473473

chapters/http-requests.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ forced by a <<106,backwards compatible change>>). In preference order:
180180

181181
In practice {RFC-7396}[JSON Merge Patch] quickly turns out to be too limited,
182182
especially when trying to update single objects in large collections (as part
183-
of the resource). In this cases {RFC-6902}[JSON Patch] is more powerful
183+
of the resource). In this case {RFC-6902}[JSON Patch] is more powerful
184184
while still showing readable patch requests (see also
185185
http://erosb.github.io/post/json-patch-vs-merge-patch[JSON patch vs. merge]).
186186
JSON Patch supports changing of array elements identified via its index, but
@@ -293,7 +293,7 @@ Request methods in RESTful services can be...
293293
returning the same response or status code.
294294
* [[cacheable, cacheable]]{RFC-cacheable} - to indicate that responses are
295295
allowed to be stored for future reuse. In general, requests to safe methods
296-
are cachable, if it does not require a current or authoritative response
296+
are cacheable, if it does not require a current or authoritative response
297297
from the server.
298298

299299
*Note:* The above definitions, of _intended (side) effect_ allows the server

chapters/http-status-codes-and-errors.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ web servers like Nginx, that we do not suggest to use).
6262
The most commonly used codes are best understood and listed below as subset of
6363
the official HTTP status codes and consistent with their semantics in the RFCs.
6464
We avoid less commonly used codes that easily create misconceptions due to
65-
less familar semantics and API specific interpretations.
65+
less familiar semantics and API specific interpretations.
6666

6767
**Important:** As long as your HTTP status code usage is well covered by the
6868
semantic defined here, you should not describe it to avoid an overload with
@@ -238,7 +238,7 @@ about your request processing status or error situations.
238238
Some APIs are required to provide either _batch_ or _bulk_ requests using
239239
{POST} for performance reasons, i.e. for communication and processing
240240
efficiency. In this case services may be in need to signal multiple response
241-
codes for each part of an batch or bulk request. As HTTP does not provide
241+
codes for each part of a batch or bulk request. As HTTP does not provide
242242
proper guidance for handling batch/bulk requests and responses, we herewith
243243
define the following approach:
244244

@@ -357,7 +357,7 @@ codes).
357357
*Note:* Clients must be robust and *not rely* on a Problem JSON object
358358
being returned, since (a) failure responses may be created by infrastructure
359359
components not aware of this guideline or (b) service may be unable to comply
360-
with this guidelines in certain error situations.
360+
with this guideline in certain error situations.
361361

362362
*Hint:* The media type `application/problem+json` is often not implemented as
363363
a subset of `application/json` by libraries and services! Thus clients need to

chapters/meta-information.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Semantic Versioning 2.0] rules `1` to `8` and `11` restricted to the format
2929
<MAJOR>.<MINOR>.<PATCH> for versions as follows:
3030

3131
* Increment the **MAJOR** version when you make incompatible API changes
32-
after having aligned this changes with consumers,
32+
after having aligned the changes with consumers,
3333
* Increment the **MINOR** version when you add new functionality in a
3434
backwards-compatible manner, and
3535
* Optionally increment the **PATCH** version when you make
@@ -185,7 +185,7 @@ API Audience narrative (internal link)].
185185
== {MUST-SHOULD} use functional naming schema
186186

187187
Functional naming is a powerful, yet easy way to align global resources as
188-
_host_, _permission_, and _event names_ within an the application landscape. It
188+
_host_, _permission_, and _event names_ within an application landscape. It
189189
helps to preserve uniqueness of names while giving readers meaningful context
190190
information about the addressed component. Besides, the most important aspect
191191
is, that it allows to keep APIs stable in the case of technical and
@@ -257,6 +257,6 @@ and *only* allowed for hostnames of <<219, component-internal>> APIs:
257257

258258
*Exception:* There are legacy hostnames used for APIs with `external-partner` audience
259259
which may not follow this rule due to backward compatibility constraints.
260-
The API Linter maintains a whitelist for this exceptions (including e.g.
260+
The API Linter maintains an allow-list for these exceptions (including e.g.
261261
`api.merchants.zalando.com` and `api-sandbox.merchants.zalando.com`).
262262

chapters/performance.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ GET /order/123?embed=(items) HTTP/1.1
177177

178178

179179
[#227]
180-
== {MUST} document cachable `GET`, `HEAD`, and `POST` endpoints
180+
== {MUST} document cacheable `GET`, `HEAD`, and `POST` endpoints
181181

182182
Caching has to take many aspects into account, e.g. general <<cacheable,
183183
cacheability>> of response information, our guideline to protect endpoints

models/problem-1.0.1.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Problem:
77
description: >
88
A URI reference that uniquely identifies the problem type only in the
99
context of the provided API. Opposed to the specification in RFC-7807,
10-
it is neither recommended to be dereferencable and point to a
10+
it is neither recommended to be dereferenceable and point to a
1111
human-readable documentation nor globally unique for the problem type.
1212
default: 'about:blank'
1313
example: '/problem/connection-error'

0 commit comments

Comments
 (0)