File tree Expand file tree Collapse file tree 4 files changed +11
-6
lines changed
src/main/kotlin/net/pwall/json/schema/codegen Expand file tree Collapse file tree 4 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 2
2
3
3
The format is based on [ Keep a Changelog] ( http://keepachangelog.com/ ) .
4
4
5
+ ## [ 0.79] - 2022-06-16
6
+ ### Changed
7
+ - ` CodeGenerator ` : fixed additional bug in validation in derived types
8
+
5
9
## [ 0.78] - 2022-06-13
6
10
### Added
7
11
- ` ValidationValue ` : marker interface for values used in validations
Original file line number Diff line number Diff line change @@ -253,25 +253,25 @@ operation:
253
253
254
254
## Dependency Specification
255
255
256
- The latest version of the library is 0.78 , and it may be obtained from the Maven Central repository.
256
+ The latest version of the library is 0.79 , and it may be obtained from the Maven Central repository.
257
257
258
258
### Maven
259
259
``` xml
260
260
<dependency >
261
261
<groupId >net.pwall.json</groupId >
262
262
<artifactId >json-kotlin-schema-codegen</artifactId >
263
- <version >0.78 </version >
263
+ <version >0.79 </version >
264
264
</dependency >
265
265
```
266
266
### Gradle
267
267
``` groovy
268
- implementation 'net.pwall.json:json-kotlin-schema-codegen:0.78 '
268
+ implementation 'net.pwall.json:json-kotlin-schema-codegen:0.79 '
269
269
```
270
270
### Gradle (kts)
271
271
``` kotlin
272
- implementation(" net.pwall.json:json-kotlin-schema-codegen:0.78 " )
272
+ implementation(" net.pwall.json:json-kotlin-schema-codegen:0.79 " )
273
273
```
274
274
275
275
Peter Wall
276
276
277
- 2022-06-13
277
+ 2022-06-16
Original file line number Diff line number Diff line change 5
5
<modelVersion >4.0.0</modelVersion >
6
6
<groupId >net.pwall.json</groupId >
7
7
<artifactId >json-kotlin-schema-codegen</artifactId >
8
- <version >0.78 </version >
8
+ <version >0.79 </version >
9
9
<name >JSON Schema Code Generation</name >
10
10
<description >Code generation from JSON Schema to Kotlin or Java</description >
11
11
<packaging >jar</packaging >
Original file line number Diff line number Diff line change @@ -845,6 +845,7 @@ class CodeGenerator(
845
845
baseConstraints.localTypeName, baseConstraints.enumValues))
846
846
validationsPresent = true
847
847
}
848
+ baseConstraints.isLocalType -> {}
848
849
baseConstraints.isString -> {
849
850
if (property.processAdditionalConstraintsString(baseConstraints, target))
850
851
validationsPresent = true
You can’t perform that action at this time.
0 commit comments