laravel-swagger
laravel-swagger copied to clipboard
Update description generating logic
- All type-related validation rules should be skiped
-
required
validation rule should be skipped, it already mark field with*
symbol - If there is no
required
orpresent
validation rule - field should be marked as "Optional" - Description should be started from the annotation or
attributes
method (annotation will be prioritized)
@DenTray, you can test
@pirs1337 I've a strange numbers after the update

@DenTray, ready for testing
@pirs1337 looks good now, thanks!
Released in 2.2 version