You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-10Lines changed: 11 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# URLQueryEncoder
2
2
3
-
A customizable Swift `Encoder` that encodes instances of data types as URL query items. Supports all [OpenAPI] query parameter[serialization options](https://swagger.io/docs/specification/serialization/).
3
+
A customizable Swift `Encoder` that encodes instances of data types as URL query items. Supports all OpenAPI [serialization options](https://swagger.io/docs/specification/serialization/).
> If you are encoding a request body using URL-form encoding, you can use a convenience `URLQueryEncoder.encode(body)` method.
80
+
> If you are encoding a request body using URL-form encoding, you can use a convenience `URLQueryEncoder.encode(_:)` method.
81
81
82
82
## Encoding Options
83
83
84
-
There are two ways to change the encoding options: settings them directly on `URLQueryEncoder` instance, or passing options in each individual `encode` call. The reason it's designed this way is that in OpenAPI, each parameter can have different serialization options.
84
+
There are two ways to change the encoding options. You can set them directly on `URLQueryEncoder` instance.
0 commit comments