You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is feature request for 3.0. I wondered about having Gii include an API generator/Template. I think Gii is great! But I haven't been able to see a way to generate a base API. But something that could analyse models and relations as Gii does and then create potentially Repository Pattern or JSON API style or similar based off those would be a cool concept. Spring has something similar where you can use their starter wizard in combination with JPA to generate entities etc.
No worries, if you don't think this is a good idea 🙂
The text was updated successfully, but these errors were encountered:
I am currently working on a generator that will take an OpenAPI 3 spec and generate database, models, controllers from it. The base work is happening in https://github.com/cebe/php-openapi/
Other forms of generating API code are also possible.
This is feature request for 3.0. I wondered about having Gii include an API generator/Template. I think Gii is great! But I haven't been able to see a way to generate a base API. But something that could analyse models and relations as Gii does and then create potentially Repository Pattern or JSON API style or similar based off those would be a cool concept. Spring has something similar where you can use their starter wizard in combination with JPA to generate entities etc.
No worries, if you don't think this is a good idea 🙂
The text was updated successfully, but these errors were encountered: