We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 260e1a6 commit 270ce74Copy full SHA for 270ce74
templates/kotlin/src/main/kotlin/io/appwrite/models/Model.kt.twig
@@ -6,7 +6,7 @@ import com.google.gson.annotations.SerializedName
6
/**
7
* {{ definition.description }}
8
*/
9
-{% if definition.properties | length == 0 %}
+{% if definition.properties | length == 0 and not definition.additionalProperties %}
10
class {{ definition.name | caseUcfirst }} {}
11
{% else %}
12
data class {{ definition.name | caseUcfirst }}(
0 commit comments