phiz71 / vertx-swagger

Swagger integration in Eclipse Vert.X world. A dynamic Vert.X router, configured with a swagger file and a swagger-codegen plugin to generate a server stub.
Apache License 2.0
86 stars 35 forks source link

Add abstract factory to allow set api constructor #92

Closed vaIgarashi closed 5 years ago

vaIgarashi commented 6 years ago

This PR will add auto-generated abstract factory MainApiFactory to allow set api implementations constructor parameters. Factory provided as MainApiVerticle constructor parameter.


public interface MainApiFactory {

    PetApi createPetApi();

    StoreApi createStoreApi();

    UserApi createUserApi();

}