Skip to content

Commit acd2d75

Browse files
committed
fix: typo
1 parent 96ca90b commit acd2d75

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/swift-openapi-generator/Documentation.docc/Articles/Supported-OpenAPI-features.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ For any other formats, the payload is provided as raw bytes (using the `HTTPBody
2626
- for details, see [SOAR-0009](https://swiftpackageindex.com/apple/swift-openapi-generator/main/documentation/swift-openapi-generator/soar-0009)
2727
- [X] XML
2828
- when content type is `application/xml` or ends with `+xml`
29-
- xmlCoder must be defined in `OpenAPIRuntime.Configuration`
29+
- xmlCoder must be provided to `OpenAPIRuntime.Configuration`
3030

3131
### OpenAPI specification features
3232

Sources/swift-openapi-generator/Documentation.docc/Development/Converting-between-data-and-Swift-types.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ At the time of writing, the list of coders used is as follows.
3030
| URI (††) | `OpenAPIRuntime.URIEncoder` | `OpenAPIRuntime.URIDecoder` | Path, query, headers |
3131
| Plain text | `OpenAPIRuntime.StringEncoder` | `OpenAPIRuntime.StringDecoder` | Bodies |
3232

33-
> †: XML support is optional, and not enabled by default. Encoding and decoding requires to define a `OpenAPIRuntime.CustomCoder` in `OpenAPIRuntime.Configuration` initializer.
33+
> †: XML support is optional, and not enabled by default. Encoding and decoding requires providing a `OpenAPIRuntime.CustomCoder` to the `OpenAPIRuntime.Configuration` initializer.
3434
3535
> ††: Configurable implementation of variable expansion from URI Template (RFC 6570), the `application/x-www-form-urlencoded` serialization from RFC 1866, and OpenAPI 3.0.3. For details of the supported combinations, review <doc:Supported-OpenAPI-features>.
3636

0 commit comments

Comments
 (0)