SeyZ/jsonapi-serializer

Question: Generate Interfaces

johannesschobel opened this issue · 0 comments

Dear @SeyZ and community,

i really like this project - i think it is one of the most elaborated json:api packages out there..

I was trying to develop a small showcase backend application, i stumbled upon this issue here. I thought, it would be quite nice to share the generated object definitions (interfaces?!) with clients that should interact with the API..

Is it possible to create an Interface from the Serializer? If so, how?

Because actually, the Serializer should have all information "ready" to be used.. e.g., the "required" attributes, the includes and so on..

Am i missing something here?
All the best