Releases: imIfOu/jsonschema-module-addon
Releases · imIfOu/jsonschema-module-addon
Release 1.2.1 Generator version upgrade
Release 1.2.0 String properties
Supported JSON Schema attributes
Attribute |
Annotation |
pattern |
@JsonSchema(pattern="...") |
minLength |
@JsonSchema(minLength=...) |
maxLength |
@JsonSchema(maxLength=... |
Release 1.1.0 Number properties
Supported JSON Schema attributes
Attribute |
Annotation |
multipleOf |
@JsonSchema(multipleOf="...") |
minimum |
@JsonSchema(min="...") |
exclusiveMinimum |
@JsonSchema(min=..., exclusiveMin= true) |
maximum |
@JsonSchema(max=...) |
exclusiveMaximum |
@JsonSchema(max=..., exclusiveMax= true) |
Release 1.0.1
Supported JSON Schema attributes
Attribute |
Annotation |
title |
@JsonSchema(title="...") |
description |
@JsonSchema(description="...") |
type |
@JsonSchema(format=TypeFormat.DATE) |
default |
@JsonSchema(defaultValue="...") |
required |
@JsonSchema(required=true) |
Specific annotations
Annotation |
Description |
@JsonSchema(ignore=true) |
Ignore field or method during genration process of json schema |
@JsonSchema(metadata={@JSData(key="...",value="...")}) |
Add properties not support by this module, or specific metadata |