Closed sabbyanandan closed 7 years ago
Can we also change the metadata generator so that it provides simple names, such as "string, boolean, comma-delimited strings" instead of <java.lang.String>, <java.lang.Boolean>, <java.util.List<java.lang.String>>
?
Is it possible to trigger a build failure when the doc is missing rather than having this as the final result?
: <documentation missing>
All README's are updated with Input/Output content-type and payload. Build instructions and examples are also updated.
Can we also change the metadata generator so that it provides simple names, such as "string, boolean, comma-delimited strings" instead of
, , <java.util.List >?
Can definitely do the first two. A bit more reluctant about the third because, while also true for the first issue, it depends on what converters are present at runtime and it may not always be true that it accepts a comma delimited string (not plural, btw).
So what about changing:
java.lang.X
-> just x
java.util.List<X>
-> list<X>
java.util.Map<X, Y>
-> map<X, Y>
java.util.Set<X>
-> set<X>
Is it possible to trigger a build failure when the doc is missing rather than having this as the final result?
: <documentation missing>
Definitely possible, but I don't thing this is a good idea, because we can't actually cure this in most cases. This is a case where the doc is not "seen", be it because of inheritance, of sources not available at annotation processing time, etc. So I'm not sure we'll be able to fix all of those, even with drastic starter design changes
As a developer, I'd like to refactor application READMEs for clarity and to include the following specifics.
1) Supported Input/Output Content-Type at each application - see live example: Cassandra Sink
2) Add Build section
3) Add a
java -jar
sample where applicable; example:Notes:
Targeted Apps: