DarkaOnLine / L5-Swagger

OpenApi or Swagger integration to Laravel

Home Page:https://github.com/DarkaOnLine/L5-Swagger

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question - model toArray for properties

JamieCee20 opened this issue · comments

Instead of defining the properties on each model, is there a way to read the toArray function instead? as this would help at the times I change it slightly and then having to remember to change the annotations for the model as well