Skip to content

Commit c7f3a41

Browse files
committed
upgrade to 1.0.28 and update changelog
1 parent 342d482 commit c7f3a41

File tree

3 files changed

+20
-4
lines changed

3 files changed

+20
-4
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
99

1010
### Changed
1111

12+
## 1.0.28 - 2019-11-25
13+
14+
### Added
15+
16+
### Changed
17+
18+
- fixes #219 Fix for oneOf when not all properties are matched. Thanks @aznan2
19+
1220
## 1.0.27 - 2019-11-18
1321

1422
### Added

README.md

+11-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
[![Build Status](https://travis-ci.org/networknt/json-schema-validator.svg?branch=master)](https://travis-ci.org/networknt/json-schema-validator) [![codecov.io](https://codecov.io/github/networknt/json-schema-validator/coverage.svg?branch=master)](https://codecov.io/github/networknt/json-schema-validator?branch=master)
1111

1212

13-
This is a Java implementation of the [JSON Schema Core Draft v4-v7](http://json-schema.org/latest/json-schema-core.html) specification for JSON schema validation. In addition, it also works for OpenAPI 3.0 request/response validation with some [configuration flags](doc/config.md). The default JSON parser is the [Jackson](https://github.com/FasterXML/jackson) that is the most popular one. As it is a key component in our [light-4j](https://github.com/networknt/light-4j) microservices framework to validate request/response against OpenAPI specification for [light-rest-4j](http://www.networknt.com/style/light-rest-4j/) and RPC schema for [light-hybrid-4j](http://www.networknt.com/style/light-hybrid-4j/) at runtime, performance is the most important aspect in the design.
13+
This is a Java implementation of the [JSON Schema Core Draft v4, v6, v7 and v2019-09](http://json-schema.org/latest/json-schema-core.html) specification for JSON schema validation. In addition, it also works for OpenAPI 3.0 request/response validation with some [configuration flags](doc/config.md). The default JSON parser is the [Jackson](https://github.com/FasterXML/jackson) that is the most popular one. As it is a key component in our [light-4j](https://github.com/networknt/light-4j) microservices framework to validate request/response against OpenAPI specification for [light-rest-4j](http://www.networknt.com/style/light-rest-4j/) and RPC schema for [light-hybrid-4j](http://www.networknt.com/style/light-hybrid-4j/) at runtime, performance is the most important aspect in the design.
1414

1515
## Why this library
1616

@@ -30,6 +30,14 @@ You can run the performance tests for three libraries from [https://github.com/n
3030

3131
It uses Jackson that is the most popular JSON parser in Java. If you are using Jackson parser already in your project, it is natural to choose this library over others for schema validation.
3232

33+
#### YAML Support
34+
35+
The library works with JSON and YAML on both schema definitions and input data.
36+
37+
#### OpenAPI Support
38+
39+
The OpenAPI 3.0 specification is using JSON schema to validate the request/response, but there are some differences. With a configuration file, you can enable the library to work with OpenAPI 3.0 validation.
40+
3341
#### Dependency
3442

3543
Following the design principle of the Light Platform, this library has minimum dependencies to ensure there are no dependency conflicts when using it.
@@ -72,15 +80,15 @@ Maven:
7280
<dependency>
7381
<groupId>com.networknt</groupId>
7482
<artifactId>json-schema-validator</artifactId>
75-
<version>1.0.27</version>
83+
<version>1.0.28</version>
7684
</dependency>
7785
```
7886

7987
Gradle:
8088

8189
```
8290
dependencies {
83-
compile(group: "com.networknt", name: "json-schema-validator", version: "1.0.27");
91+
compile(group: "com.networknt", name: "json-schema-validator", version: "1.0.28");
8492
}
8593
```
8694

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<modelVersion>4.0.0</modelVersion>
2020
<groupId>com.networknt</groupId>
2121
<artifactId>json-schema-validator</artifactId>
22-
<version>1.0.27</version>
22+
<version>1.0.28</version>
2323
<packaging>bundle</packaging>
2424
<description>A json schema validator that supports draft v4</description>
2525
<url>https://github.com/networknt/json-schema-validator</url>

0 commit comments

Comments
 (0)