Skip to content

Commit 77e1553

Browse files
authored
Fix various typos in docc articles (#155)
### Motivation A few typos in some doc articles. ### Modifications Fixed the typos. ### Result Fewer typos in docs. ### Test Plan N/A
1 parent 90c249e commit 77e1553

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Sources/swift-openapi-generator/Documentation.docc/Articles/API-stability-of-generated-code.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This document outlines the API stability goals for the generated code to help yo
1010

1111
### Example changes
1212

13-
There are three API bounderies to consider:
13+
There are three API boundaries to consider:
1414
- **HTTP**: the requests and responses sent over the network
1515
- **OpenAPI**: the description of the API using the OpenAPI specification
1616
- **Swift**: the client or server code generated from the OpenAPI document
@@ -60,7 +60,7 @@ Let's consider an example where you're creating a Swift library that provides a
6060
You can hide the generated client code as an implementation detail and provide a hand-written Swift API to your users using the following steps:
6161

6262
1. Create a library target that is not exposed as a product, called, for example, `GeneratedGreetingClient`, which uses the Swift OpenAPI Generator package plugin.
63-
2. Create another library target that is exposed as a product, called, for example, `Greeter`, which imports the depends on the `GeneratedGreetingClient` target but doesn't use the imported types in its public API.
63+
2. Create another library target that is exposed as a product, called, for example, `Greeter`, which depends on the `GeneratedGreetingClient` target but doesn't use the imported types in its public API.
6464

6565
This way, you are in full control of the public API of the `Greeter` library, but you also benefit from calling the service using generated code.
6666

Sources/swift-openapi-generator/Documentation.docc/Articles/Contributing-to-Swift-OpenAPI-Generator.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The code generator project is written in Swift and can be thought of as a functi
2222

2323
The generated Swift code depends on the runtime library, so some features might require coordinated changes in both the runtime and generator repositories.
2424

25-
Similarly, any changes to the transport and middleware protocols in the runtime library must consider the impact on existing existing transport and middleware implementation packages.
25+
Similarly, any changes to the transport and middleware protocols in the runtime library must consider the impact on existing transport and middleware implementation packages.
2626

2727
> Tip: For non-trivial changes affecting the API, consider writing a proposal. For more, check out <doc:Proposals>.
2828
@@ -44,7 +44,7 @@ To use this functionality, use an SPI import:
4444

4545
### Example contribution workflow
4646

47-
Let's walk through the steps to implement a miising OpenAPI feature that requires changes in multiple repositories. For example, adding support for a [new query style][0].
47+
Let's walk through the steps to implement a missing OpenAPI feature that requires changes in multiple repositories. For example, adding support for a [new query style][0].
4848

4949
1. Clone the generator and runtime repositories and set up a development environment where the generator uses the local runtime package dependency, by either:
5050

Sources/swift-openapi-generator/Documentation.docc/Articles/Project-scope-and-goals.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ As a result, the generated code may not always be idiomatic Swift style or confo
2020

2121
If you require the generated code to conform to specific style, we recommend you preprocess the OpenAPI document to update the identifiers to produce different code.
2222

23-
For larger documents, you may want to do this programatically and, if you are doing so in Swift, you could use [OpenAPIKit][0], which is the same library used by Swift OpenAPI Generator.
23+
For larger documents, you may want to do this programmatically and, if you are doing so in Swift, you could use [OpenAPIKit][0], which is the same library used by Swift OpenAPI Generator.
2424

2525
> Warning: Understand which identifiers can be changed without impacting the wire protocol for the API before attempting to preprocess the OpenAPI document.
2626

0 commit comments

Comments
 (0)