How to display enum values in Laravel Swagger
If you set , 0, 1, 2, 3, and 4 will be displayed in the PHP Swagger docs. If you set , CANCEL, WAIT, SUCCESS, FAILED, and ERROR will be displayed in the PHP Swa
GGAMI
#[OAT\Property(property: 'state', ref: '#/components/schemas/State', type: 'enum')]