Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions fern/products/sdks/generators/php/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ Allows customization of the generated `composer.json` file contents. You can spe
When enabled, generates [mock server (wire) tests](/sdks/deep-dives/testing#mock-server-tests) to verify that the SDK sends and receives HTTP requests as expected.
</ParamField>

<ParamField path="encode-path-params" type="boolean" default="false" required={false} toc={true}>
Percent-encodes path parameter values as the generated SDK substitutes them into the request path, so a value containing `/` or `..` can't change which endpoint the request resolves to. Values that intentionally contain slashes, such as file-path-like IDs, are sent as `%2F`.
</ParamField>

<ParamField path="inlinePathParameters" type="boolean" required={false} toc={true}>
When enabled, path parameters are included as properties in the request class instead of being passed as separate method parameters. This creates a more unified request structure where all parameters are grouped together in the request object.
</ParamField>
Expand Down
Loading