swagger-api/swagger-codegen

SpringMVC: does not support regenerate code appropriately

Open

#2,260 opened on Feb 26, 2016

View on GitHub
 (3 comments) (0 reactions) (0 assignees)HTML (12,701 stars) (5,474 forks)batch import
Enhancement: GeneralServer: Springhelp wanted

Description

The SpringMVN generator creates the API files with:

// do some magic
return new ResponseEntity(...);

It would be better to create a service delegate (just like the JAX-RS generator), so it would be easier to regenerate the code.

Contributor guide