typescript-generator icon indicating copy to clipboard operation
typescript-generator copied to clipboard

Generates TypeScript from Java - JSON declarations, REST service client

Results 154 typescript-generator issues
Sort by recently updated
recently updated
newest added

Java `@Value @Builder public class Example{ @NonNull Integer abc; @Nullable String name; @NonNull public Option getName() { return Option.of(name); } }` Typescript ``` export interface BetriebspunktViaGeplant { abc: number; name?:...

I've been thinking about enforcing stronger types in our codebase. We have a lot of ids that are just numbers that we pass around, and sometimes they get swapped around...

e.g. Object named Activity with annotation @ApiModel(value = "xxxx1"),after generate,it comes to /*** xxxx1 ***/ in ts file, it works. There is a name field in Activity with annotation @ApiModelProperty(value...

Hello, FIrst of all, thanks for this project, it is much appreciated. I may have missed the solution to my problem in the doc, but here is my issue: I...

The `GenericsResolver.mapGenericVariablesToBase()` may return null, but that code below does not handle it. > for (BeanModel descendant : descendants) { > // do not handle bean as tagged union if...

First of all, thanks for all the good work, I think I already said it once but your library is and remains incredibly helpful! #936 (commit d41d22f4cacd6de1d9f1e0f8f8a4eae074849602) seems to have...

Current logic adds dependency on all tasks that: ```java task.getName().startsWith("compile") && !task.getName().startsWith("compileTest") ``` This is incorrect, as you may have more types of tests than standard ones: https://blog.gradle.org/introducing-test-suites You can...

Hi, I'm trying to map all instances of `java.util.collection` to `Record` and I'm encountering this error ``` Execution generate of goal cz.habarta.typescript-generator:typescript-generator-maven-plugin:3.2.1263:generate failed: Invalid 'customTypeMapping' format: string> ``` My configuration...

Hi @vojtechhabarta & team, I'm trying to generated a spring endpoint that has a request param as an object (not annotated with `@RequestParam `annotation). Expected behaviour: ``` @GetMapping("/foo") fun foo(req:...

Hello, the code snippet given below ``` @GET @Produces(MediaType.APPLICATION_OCTET_STREAM) public Response download() { File file = ...; String value = "attachment; filename=\"filename\""; return Response.ok(file) .header(HttpHeaders.CONTENT_DISPOSITION, value) .build(); } ``` produces...