java2typescript icon indicating copy to clipboard operation
java2typescript copied to clipboard

A bridge between a Java model, REST services and Typescript definition

Results 11 java2typescript issues
Sort by recently updated
recently updated
newest added

Generating TypeScript from ```Java class Bug { Map intKeyMap; } ``` produces ``` export interface Bug { intKeyMap: { [key: string ]: string;}; // intKeyMap: { [key: number]: string;}; //

[![mitm_build](https://user-images.githubusercontent.com/1323708/59226671-90645200-8ba1-11e9-8ab3-39292bef99e9.jpeg)](https://medium.com/@jonathan.leitschuh/want-to-take-over-the-java-ecosystem-all-you-need-is-a-mitm-1fc329d898fb?source=friends_link&sk=3c99970c55a899ad9ef41f126efcde0e) - [Want to take over the Java ecosystem? All you need is a MITM!](https://medium.com/@jonathan.leitschuh/want-to-take-over-the-java-ecosystem-all-you-need-is-a-mitm-1fc329d898fb?source=friends_link&sk=3c99970c55a899ad9ef41f126efcde0e) - [Update: Want to take over the Java ecosystem? All you need is a MITM!](https://medium.com/bugbountywriteup/update-want-to-take-over-the-java-ecosystem-all-you-need-is-a-mitm-d069d253fe23?source=friends_link&sk=8c8e52a7d57b98d0b7e541665688b454)...

Negated a potential NPE that was caused be HTTP methods that had a similar structure to accessor methods. Modified ExampleService in DescriptorGeneratorTest to as an example to the type of...

I'm trying to build the sample project but the instructions are a bit unclear. According to the readme, the maven command is >mvn java2typescript:generate but I keep getting the error...

in com.fasterxml.jackson.databind.ext.CoreXMLSerializers the visitor is passed with a null as JavaType. Because of this a NPE could be thrown in TSJsonFormatVisotorWrapper.expectStringFormat(null)

Hi all! I have an angular 2 project (builded using maven) and on generate-sources I download some java files from another module. I want to generate TS from these java...

question

supporting gradle plugin would be great

enhancement

Creating type definitions from the Java API is an awesome thing to do as a maven step, but compiling TypeScript to JavaScript / bundling the JavaScript is something that front-end-devs...

enhancement
question

Let's suppose I have a rest endpoint class like: ``` java public class MyService { public enum SomeStatus { ACTIVE, INACTIVE; } @GET @Path("/status") public getSomeStatus() { return SomeStatus.ACTIVE; }...