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: packages/@ama-sdk/schematics/README.md
+5
Original file line number
Diff line number
Diff line change
@@ -123,6 +123,11 @@ The parameter types that we support are stored in `SupportedParamType` in the pa
123
123
> We provide the methods `serializeQueryParams` and `serializePathParams` to serialize the values of query and path parameters. However, it is also possible to pass
124
124
> your own serialization methods if the ones provided do not meet your requirements. These custom methods can be passed as a parameter to the API client constructor.
125
125
126
+
> [!NOTE]
127
+
> If you update the query parameters within a `RequestPlugin`, these must be serialized before being returned to the API to prepare the URL. You can do so by using the
128
+
> serialization method that we provide (`serializeQueryParams`) or your own serialization method. The value of the query parameters returned by the `RequestPlugin` will
129
+
> be directly added to the URL.
130
+
126
131
#### Light SDK
127
132
128
133
It is also possible to generate a "light" SDK. This type of SDK does not need to generate revivers, which results in a simplified version of the code and reduces the size of the bundle.
Copy file name to clipboardExpand all lines: packages/@ama-sdk/schematics/schematics/typescript/core/openapi-codegen-typescript/src/main/resources/typescriptFetch/api/api.mustache
+9-9
Original file line number
Diff line number
Diff line change
@@ -72,6 +72,10 @@ export class {{classname}} implements Api {
0 commit comments