swagger-api / swagger-codegen

swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition.
http://swagger.io
Apache License 2.0
17.09k stars 6.03k forks source link

Default interface implementation : HttpStatus.NOT_IMPLEMENTED instead of HttpStatus.OK #4828

Open radoslawborecki opened 7 years ago

radoslawborecki commented 7 years ago

It is only a proposition

default Interface implementation returns: HttpStatus.OK it would be better to return: HttpStatus.NOT_IMPLEMENTED

cbornet commented 7 years ago

Can you specify which language/framework ?

radoslawborecki commented 7 years ago

Sorry,

server sources generated to spring, with java8 enabled

artifactId>swagger-codegen-maven-plugin</artifactId version>2.2.1</version

language>spring</language configOptions dateLibrary>java8</dateLibrary /configOptions

alfoltran commented 6 years ago

Duplicated by #5895