spring-rest-2-ts

spring rest 2 ts is typescript generator which produces data model and services in typescript based on Spring MVC annotations. It supports generation for Angular and React

MIT License

Stars
64
Committers
11

Bot releases are hidden (Show)

spring-rest-2-ts - version-1.5.1 Latest Release

Published by tomasz-wozniak75 about 2 years ago

Fix release which solves issue with imports for types which were used as type parameters of generic types in method return types

spring-rest-2-ts - version-1.5.0

Published by tomasz-wozniak75 over 2 years ago

  • Support for Spring WebFlux types Mono and Flux in REST controllers
  • PATCH method was added to supported HTTP method in the implementation generators
  • some external dependencies upgraded
spring-rest-2-ts - version-1.4.0

Published by tomasz-wozniak75 almost 3 years ago

What's Changed

  • Support for Jackon-Js library which allows de-serialize JSON to ES6 classes
  • Fix for "nullable types strategy should be called for setter type if it is diffrent from getter and it is defined #25 "
  • Typescript field has reference to Property from which it was created which is helpful in custom nullable strategies
spring-rest-2-ts - version-1.3.0

Published by tomasz-wozniak75 about 3 years ago

  • Support for code generation based on Gson annotations and configurations
  • Fix in Angular4ImplementationGenerator for methods which has request body and return simple types, input param which should be placed in request body wasn't serialized to JSON
  • Comments field in TSModule
spring-rest-2-ts -

Published by tomasz-wozniak75 about 3 years ago

Version bump for dependencies with reported vulnerabilities

spring-rest-2-ts - version-1.2.6

Published by tomasz-wozniak75 over 3 years ago

  • model serializers extension which allows to configure custom JSON serializers/deserializers
  • fix for inlined interface methods into controller
  • fix for missing TsMap value type import generation
spring-rest-2-ts - version-1.2.5

Published by tomasz-wozniak75 over 3 years ago

  • fix page number query param name in spring data conversion extension
  • fix: module path in webpack.config.js has been changed to module which is generated by first test
  • fix: for JsonIgnore - if field or getter or setter has JsonIgnore whole logical property is ignored
  • fix: path variable taken from name or value fields
spring-rest-2-ts - version-1.2.4

Published by tomasz-wozniak75 over 3 years ago

  • model converter which generates TypeScript classes aligned with angular2-jsonapi library
spring-rest-2-ts - version-1.2.3

Published by tomasz-wozniak75 over 3 years ago

  • jax-rs implementation
spring-rest-2-ts - version-1.2.2

Published by tomasz-wozniak75 over 3 years ago

  • Java Beans convention for data model mapping
  • FasterXML/Jackson annotations for data model mapping
  • Custom type Mappings
  • Java collections mapped into TS arrays
  • Java Map mapped into TS object
  • Java packages to module conversion
  • Java enums mapped as TS enums or union types
  • Inheritance mapping
  • Name mappings
  • Imports between generated TS modules
  • Spring REST annotations based on which TS services are generated
  • TS services for Angular framework
  • TS services for ReactJS framework
  • Java class filtering for TS code generation
  • Java generic types mapped to TS generics
  • Java interfaces mapped by model classes which contains getters and setter mapped to TS interfaces
  • spring data support (Pageable & Page types)
  • spring data support (Pageable & Page types)