0.7.0

(feat): The SDK now supports inline path parameters in the generated request class like so:

class GetUserRequest extends JsonSerializableType {
1 /**
2 * @var string $userId
3 */
4 public string $userId;
5} ```
6You can configure this in your `generators.yml` like so:
7```yaml - name: fernapi/fern-php-sdk
8 version: 0.7.0
9 config:
10 inlinePathParameters: true

0.6.0

(feat): You can now configure the generated class property access to be public or private.

  • When the access is public, both the getter and setter methods are omitted (default).
  • When the access is private, both the getter and setter methods are generated.

You can configure this in your generators.yml like so:

- name: fernapi/fern-php-sdk
1 version: 0.6.0
2 config:
3 propertyAccess: private

0.5.2

(fix): Update the endpoint generator to not require the in-lined request wrapper if it’s only composed of optional properties.

(fix): Update optional query parameters lists to be generated as an optional array instead of an array of optional values.