Skip to content

Commit

Permalink
conf: update version 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
z17fdidi committed Sep 2, 2019
1 parent e705e9c commit 8b2b0b0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Java JSON Schema Generation – Module Addon
[![Build Status](https://travis-ci.com/imIfOu/jsonschema-module-addon.svg?branch=master)](https://travis-ci.com/imIfOu/jsonschema-module-addon)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.imifou/jsonschema-module-addon/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.imifou/jsonschema-module-addon)
[![Maven Central](https://img.shields.io/maven-central/v/com.github.imifou/jsonschema-module-addon.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22com.github.imifou%22%20AND%20a:%22jsonschema-module-addon%22)

Module for the [victools/jsonschema-generator](https://github.com/victools/jsonschema-generator) – deriving JSON Schema attributes from annotations

Expand All @@ -9,6 +9,9 @@ Module for the [victools/jsonschema-generator](https://github.com/victools/jsons
* Indicate a title on property(field/method) `@JsonSchema(title="...")`
* Indicate a description on property(field/method) `@JsonSchema(description="...")`
* Indicate a format on string property(field/method) `@JsonSchema(format=TypeFormat.DATE)`
* Indicate a pattern on string property(field/method) `@JsonSchema(pattern="...")`
* Indicate a minimum length on string property(field/method) `@JsonSchema(minLength="...")`
* Indicate a maximum length on string property(field/method) `@JsonSchema(maxLength="...")`
* Indicate a minimum value on number property(field/method) `@JsonSchema(min=0)`
* Indicate a maximum value on number property(field/method) `@JsonSchema(max=10)`
* Indicate a minimum exclusive value on number property(field/method) `@JsonSchema(min=0, exclusiveMin = true)`
Expand All @@ -25,7 +28,7 @@ Module for the [victools/jsonschema-generator](https://github.com/victools/jsons
<dependency>
<groupId>com.github.imifou</groupId>
<artifactId>jsonschema-module-addon</artifactId>
<version>1.1.0</version>
<version>1.2.0</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<groupId>com.github.imifou</groupId>
<artifactId>jsonschema-module-addon</artifactId>
<version>1.1.0</version>
<version>1.2.0</version>

<licenses>
<license>
Expand Down

0 comments on commit 8b2b0b0

Please sign in to comment.