spring - How to connect importMappings and yaml in Swagger -


i have spring restfull application , want generate api it. use gradle configuration there https://github.com/casturan/swagger-gradle-example/blob/master/build.gradle generate code. there problem uses models defined in definitions: while want use models shared module. found need use importmapping when try apply command in build.gradle getting error:

importmappings = [    'board_container': 'board_container=com.workingbit.share.domain.impl.boardcontainer' ] > not set unknown property 'importmappings' task ':myproject:generateapi' of type org.gradle.api.defaulttask. 

so question how use importmapping , how connect model in yaml?


Comments