Vojtěch Habarta

Results 69 comments of Vojtěch Habarta

This also could be candidate for using [_mapped types_](https://www.typescriptlang.org/docs/handbook/advanced-types.html#mapped-types) and [_conditional types_](https://github.com/Microsoft/TypeScript/pull/21316) in TypeScript. With conditional types it will be possible to have `DeepReadonly` generic type. Same advantages and disadvantages...

What about `MyType[][]`? Should this become `ReadonlyArray`? And what about `{ [index: string]: MyType[] }` created from `Map` in Java? Should also objects (created from `Map`) have read-only index signatures...

You are right. Type of the property should be either `URN` where `type URN = string;` or it can be directly `string`. Typescript-generator should handle this case but it currently...

Constants are still not supported. I would expose those constants to clients using REST API for example using this JSON class: ``` java public class ServerConstantsJson { public final int...

@linusnorton this only makes sense when generating classes, I would like to have some solution also for interfaces (which need to be generated in case of `d.ts` files). Maybe generating...

There is also question which constants to process apart from `String` ones. If generating enums it's probably well defined (`String` and `Number`).

@jjoslet you are absolutely right. I wouldn't mind generating heterogenous enums if we have a reason for it but for number constants it is really not a good idea. So...

Hello, it is still not possible (nor planned) to split output into different files. But it is possible to use [restNamespacing](https://www.habarta.cz/typescript-generator/maven/typescript-generator-maven-plugin/generate-mojo.html#restNamespacing) parameter to generate one client per one controller or...

Some time ago I rewrote xml-doclet using new Javadoc APIs (https://github.com/MarkusBernhardt/xml-doclet/pull/17) but it seems original author is not interested in this tool anymore. So one possibility would be to create...

@cbrethes thanks for your effort but I think we would need something which would also work on new Java versions. Two years ago I rewrote the doclet using new Javadoc...