vertx-codegen
vertx-codegen copied to clipboard
Vert.x code generator for asynchronous polyglot APIs
In kotlin there is a companion object in which it would be convenient to store methods for creating an implementation object or a proxy object. But codegen does not know...
Implemented POC for [Async lambda RFC](https://github.com/vert-x3/wiki/wiki/RFC:-Asynchronous-lambdas-in-vertx-codegen) This pr changes the predicates on valid Function and Handler method parameters and adds TCK classes
As per #211, the `@DataObjectProperty` annotation enables custom naming on a per-property basis. e.g. ```java @DataObjectProperty("listOfFoo") private List fooList; @DataObjectProperty("map-of-bar") private Map barMap; @DataObjectProperty("string_of_baz") private String bazString; ```
How can I do custom Marshalling/Unmarshalling for JAVA enum for now vertx-codegen is used standard name() and valueOf() methods for example jackson has @JsonCreator and @JsonValue for this case.
```java @ProxyGen public interface Test { @Fluent Test foo(); } ``` this method will add to anyJavaTypeMethods because of the kind of `Test` is `ClassKind.OTHER`
Getters and setters are seem as properties and for each property the model just exposes 1 doc value, usually the getter, which means that for languages that distinguish Getters and...
I stumbled upon some typos while creating another PR. This is just a small update to fix those few miscellaneous typos.
Hi! My EB service looks like this: ```java @Fluent MyService getTickets1(JsonObject whatever, Handler e); @Fluent MyService getTickets2(JsonObject whatever, Handler e); ``` notice that handlers accept lists of `Ticket`s from two...
This PR https://github.com/vert-x3/vertx-codegen/pull/196 allows using `OTHER` type, but an array of primitives or objects is not `OTHER`. It means that we still don't allowed to write methods with `Object[]`, `int[]`...