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

JavaVertXServerGenerator Codegen should not ignore message headers #96

Closed dhoffer closed 2 years ago

dhoffer commented 6 years ago

Currently the JavaVertXServerGenerator is ignoring the REST message headers that came from the REST endpoint that it mapped to the eventBus.

In each of the generated Verticles it should read the message headers as well as the message body and pass to the service that is to be custom implemented. Currently there is no way to get the headers which are often key for the implementation.