Open dartartem opened 3 years ago
api-gateway has controller that server index.html of swagger-ui:
https://github.com/eventuate-tram/eventuate-tram-sagas-examples-customers-and-orders/blob/afe7b6a0f6de71906c88500f05f67547fd6242ee/api-gateway-service/src/main/java/io/eventuate/examples/tram/sagas/ordersandcustomers/apigateway/common/SwaggerController.java#L8-L14
But there is no such file "META-INF/swagger-ui/index.html"
Problem is that META-INF of eventuate-util-swagger-ui is not unpacked in api-gateway jar
Solution is define task to unpack:
bootJar { requiresUnpack '**/eventuate-util-swagger-ui-*.jar' }
api-gateway has controller that server index.html of swagger-ui:
https://github.com/eventuate-tram/eventuate-tram-sagas-examples-customers-and-orders/blob/afe7b6a0f6de71906c88500f05f67547fd6242ee/api-gateway-service/src/main/java/io/eventuate/examples/tram/sagas/ordersandcustomers/apigateway/common/SwaggerController.java#L8-L14
But there is no such file "META-INF/swagger-ui/index.html"
Problem is that META-INF of eventuate-util-swagger-ui is not unpacked in api-gateway jar
Solution is define task to unpack: