https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator/src/main/resources/php-laravel/ */ /** * SampleModelToTestNamingConvention */ namespace OpenAPI\Server\Model; /** * SampleModelToTestNamingConvention */ use Crell\Serde\Renaming\Cases; use Crell\Serde\Attributes as Serde; #[Serde\ClassSettings(renameWith: Cases::snake_case)] class SampleModelToTestNamingConvention { /** * * * @param string $propCamelCase * * * @param string $PropPascalCase * * * @param string $Prop_withRandomCase */ public function __construct( public string $propCamelCase = 'defaultName', public string $PropPascalCase = 'DefaultName', public string $Prop_withRandomCase = 'defaultName', ) {} }