apidoc and swagger are two nice projects which are focusing on documentation of APIs. This project is a middle tier which tries to bring them together in a sense that it uses apidoc to convert inline documentation to json schema and later convert it to swagger json schmea.
Swagger complains whenever you include required when its empty. Im now using this regex;
I couldn't test this change (don't have a dev environment here), could anyone try it out?