Skip to content

v1.6.0-release

Compare
Choose a tag to compare
@wubin1989 wubin1989 released this 16 Jul 03:47
· 85 commits to master since this release

Change Log

  1. unionj-generator-service module:
    • Support */* mediaType
    • Support generate anonymous type(not referenced by $ref attribute, no schema definition in components.schemas) as input and output parameters in service class method
  2. unionj-generator-openapi module:
    • Support boolean value of additionalProperties by cloud.unionj.generator.openapi3.model.AdditionalPropertiesDeserializer
    • Support $ref attribute of requestBody
    • Support $ref attribute of response
    • Add xTitle attribute to cloud.unionj.generator.openapi3.model.Schema to distinguish with title attribute
    • Deprecated cloud.unionj.generator.openapi3.expression.SchemaBuilder.dummy method. It will be removed at v1.7.0 release.
    • Add @JsonProperty("x-tree") totree attribute of cloud.unionj.generator.openapi3.model.Schema to be compatible with OpenAPI 3.0 spec

Pom

<dependency>
   <groupId>cloud.unionj</groupId>
   <artifactId>unionj-generator-frontend</artifactId>
   <version>1.6.0</version>
</dependency>
<dependency>
   <groupId>cloud.unionj</groupId>
   <artifactId>unionj-generator-backend</artifactId>
   <version>1.6.0</version>
</dependency>
<dependency>
   <groupId>cloud.unionj</groupId>
   <artifactId>unionj-generator-openapi</artifactId>
   <version>1.6.0</version>
</dependency>
<dependency>
   <groupId>cloud.unionj</groupId>
   <artifactId>unionj-generator-mock</artifactId>
   <version>1.6.0</version>
</dependency>
<dependency>
   <groupId>cloud.unionj</groupId>
   <artifactId>unionj-generator-service</artifactId>
   <version>1.6.0</version>
</dependency>