Add more comprehensive attribute examples
It would great to see more comprehensive examples where attributes are used. Especially with JSON api's. I'm having trouble working it out so I'm muddling through.
That would be especially great for someone who has older world experience with PHP like me who is coming to grips with the new features, autoloading and all of that. So some really clear and simple API examples with a CRUD API.
Fair point. Might be time to clean up all the petstore examples and reduce to just one each for annotations and attributes, respectively.
https://github.com/zircote/swagger-php/tree/master/Examples
That would be amazing @DerManoMann !
Any suggestions on which petstore to keep? petstore.swagger.io seems to be the most complete, although I suspect bits of the ones under swagger-spec could be added...?
I think this one is done with:
- moving the examples into the docs
- adding attribute snippets for all example code in the docs