Skip to content

Commit 14efef9

Browse files
authored
Merge pull request #136 from icerockdev/develop
Release 0.15.2
2 parents b341b5f + bcd7aa0 commit 14efef9

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ This is a Kotlin MultiPlatform library that provide network components for iOS &
6060
- 0.14.2
6161
- 0.15.0
6262
- 0.15.1
63+
- 0.15.2
6364

6465
## Installation
6566
root build.gradle
@@ -70,7 +71,7 @@ buildscript {
7071
}
7172
7273
dependencies {
73-
classpath "dev.icerock.moko:network-generator:0.15.1"
74+
classpath "dev.icerock.moko:network-generator:0.15.2"
7475
}
7576
}
7677
@@ -87,7 +88,7 @@ project build.gradle
8788
apply plugin: "dev.icerock.mobile.multiplatform-network-generator"
8889
8990
dependencies {
90-
commonMainApi("dev.icerock.moko:network:0.15.1")
91+
commonMainApi("dev.icerock.moko:network:0.15.2")
9192
}
9293
```
9394

network-deps/src/main/kotlin/Deps.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ object Deps {
2727
private const val mokoMvvmVersion = "0.9.2"
2828
private const val mokoErrorsVersion = "0.3.2"
2929
private const val mokoTestVersion = "0.2.1"
30-
const val mokoNetworkVersion = "0.15.1"
30+
const val mokoNetworkVersion = "0.15.2"
3131

3232
private const val kbignumVersion = "2.0.6"
3333

network-generator/src/main/kotlin/dev/icerock/moko/network/OpenApiProcessor.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ internal class OpenApiProcessor {
175175
)
176176
}
177177

178-
if (additionalProperties != null) {
178+
if (additionalProperties != null && additionalProperties is Schema<*>) {
179179
val propertyContext = SchemaContext.PropertyComponent(
180180
schemaName = this.name,
181181
propertyName = "additionalProperties"

0 commit comments

Comments
 (0)