RonasIT / laravel-swagger

Laravel-Swagger is a fully automate tool which allows to generate and save swagger-based documentation after successful completing your application's feature tests.
https://ronasit.com
MIT License
150 stars 43 forks source link

Update description generating logic #49

Closed DenTray closed 1 year ago

DenTray commented 2 years ago
  1. All type-related validation rules should be skiped
  2. required validation rule should be skipped, it already mark field with * symbol
  3. If there is no required or present validation rule - field should be marked as "Optional"
  4. Description should be started from the annotation or attributes method (annotation will be prioritized)
pirs1337 commented 2 years ago

@DenTray, you can test

DenTray commented 2 years ago

@pirs1337 I've a strange numbers after the update

image
pirs1337 commented 2 years ago

@DenTray, ready for testing

DenTray commented 2 years ago

@pirs1337 looks good now, thanks!

DenTray commented 1 year ago

Released in 2.2 version