swagger-codegen
swagger-codegen copied to clipboard
[Java][Spring][Server] When java8 and interfaceOnly are true, generated interface default methods
In issue #5895 is a discussion about generation default methods when parameter java8=true and interfaceOnly=true. I don't understand the value of this default methods, it is clearer only generating a plain interface and have to implement this defined methods in my implementation. There is imho no usecase to throw an not_implemented http code, a compile error in the projects is error enough. @wing328 what do you think ?
I agree with @inidona. At least there should be a paramater to turn the generation of default implementations off.