https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator/src/main/resources/php-laravel/ */ /** * ChildWithNullable */ namespace OpenAPI\Server\Model; /** * ChildWithNullable */ use Crell\Serde\Renaming\Cases; use Crell\Serde\Attributes as Serde; #[Serde\ClassSettings(renameWith: Cases::snake_case)] class ChildWithNullable { /** * * * @param \OpenAPI\Server\Model\ParentWithNullableType $type * * * @param null | string $nullableProperty * * * @param string $otherProperty */ public function __construct( public \OpenAPI\Server\Model\ParentWithNullableType $type, public string $otherProperty, public ?string $nullableProperty = null, ) {} }