I'm creating a RESTful API in Symfony2 using the FOSRestBundle, what I would like to do for each service is define each available attribute in an array so I can validate submitted data, and automatically create documentation for each service.
Here is what I'd like to be able to do for the documentation: - Display a list of all services - Display the list of all the available actions for each service (POST, PUT, etc) - Display the expected & response paramaters inside each service.
When the client hits a service the JSON should also be directly validated against the schema.
Has anyone had any experience with this, and if so could you please point me in the right direction?