swagger-api / swagger-play

Apache License 2.0
330 stars 181 forks source link

API documenation not created for parent class methods. #107

Open abhichandel opened 7 years ago

abhichandel commented 7 years ago

Scenario: Have a base abstract controller. A child controller extends abstract controller but doesn't override all the methods. In routes file all methods are referenced through child controller only. If the parent methods are annotated for API documentation, swagger doesn't generate documentation for such methods. API documentation of the overridden methods with API annotations on child methods is created. Please provide a fix for this. Currently as a workaround I am overriding all the methods in child class but definitely deviating from OOPs.