Skip to content

Releases: imIfOu/jsonschema-module-addon

Release 1.2.1 Generator version upgrade

13 Mar 08:44
Compare
Choose a tag to compare

Release 1.2.0 String properties

02 Sep 15:50
Compare
Choose a tag to compare

Supported JSON Schema attributes

Attribute Annotation
pattern @JsonSchema(pattern="...")
minLength @JsonSchema(minLength=...)
maxLength @JsonSchema(maxLength=...

Release 1.1.0 Number properties

02 Sep 15:03
ee6aef7
Compare
Choose a tag to compare

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

02 Sep 12:25
Compare
Choose a tag to compare

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