Closed yuranos closed 6 years ago
Hold on, @stojsavljevic. I just noticed my controllers do not have imports for type objects. I hope this si a quick one, but I'm not very enthusiastic about anything related to JCodeModel:)
@stojsavljevic , please check now.
@stojsavljevic , please review. You will notice a change in
SpringMvcEndpointGeneratorMojo
about the waytypeGenerationConfig
is initialised. I was considering adding a callback, likePostConstruct
to the mojo, but it's too much trouble it seems(will require something like mycila-guice-jsr250) and it will take me some time because I'm not very much familiar with the way Guice/Sisu is used under the hood. In any case, I don't think it's worth it in this simple case.Otherwise, I tested it on our project and it works like a charm.