File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed
android/library/src/main/java/io/package
kotlin/src/main/kotlin/io/appwrite Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -4,12 +4,12 @@ import com.google.gson.annotations.SerializedName
44import io.appwrite.extensions.jsonCast
55
66/**
7- * {{ definition .description }}
7+ * {{ definition .description | replace({ " \n " : " \n * " }) | raw }}
88 */
99{% if definition .properties | length != 0 or definition .additionalProperties %}data {% endif %}class {{ definition | modelType(spec ) | raw }}(
1010 {%~ for property in definition .properties %}
1111 /**
12- * {{ property .description }}
12+ * {{ property .description | replace({ " \n " : " \n * " }) | raw }}
1313 */
1414 @SerializedName("{{ property .name | escapeKeyword | escapeDollarSign }}")
1515 {% if property .required -%} val
Original file line number Diff line number Diff line change @@ -24,12 +24,12 @@ import java.io.File
2424
2525/**
2626 * {{ service .description | replace({" \n" : " \n * " }) | raw }}
27- * */
27+ */
2828class {{ service .name | caseUcfirst }}(client: Client) : Service(client) {
2929
3030{% for method in service .methods %}
3131 /**
32- * {{ method .description | replace({" \n" : " \n * " }) | raw }}
32+ * {{ method .description | replace({" \n" : " \n * " }) | raw }}
3333 *
3434 {%~ for parameter in method .parameters .all %}
3535 * @param {{ parameter .name | caseCamel }} {{ parameter .description | raw }}
@@ -196,7 +196,7 @@ class {{ service.name | caseUcfirst }}(client: Client) : Service(client) {
196196
197197 {%~ if method .responseModel | hasGenericType(spec ) %}
198198 /**
199- * {{ method .description | raw | replace({" \n" : " " , " \r " : " " }) }}
199+ * {{ method .description | replace({" \n" : " \n * " }) | raw }}
200200 *
201201 {%~ for parameter in method .parameters .all %}
202202 * @param {{ parameter .name | caseCamel }} {{ parameter .description | raw }}
Original file line number Diff line number Diff line change @@ -4,12 +4,12 @@ import com.google.gson.annotations.SerializedName
44import io.appwrite.extensions.jsonCast
55
66/**
7- * {{ definition .description }}
7+ * {{ definition .description | replace({ " \n " : " \n * " }) | raw }}
88 */
99{% if definition .properties | length != 0 or definition .additionalProperties %}data {% endif %}class {{ definition | modelType(spec ) | raw }}(
1010 {%~ for property in definition .properties %}
1111 /**
12- * {{ property .description }}
12+ * {{ property .description | replace({ " \n " : " \n * " }) | raw }}
1313 */
1414 @SerializedName("{{ property .name | escapeKeyword | escapeDollarSign }}")
1515 {% if property .required -%} val
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ class {{ service.name | caseUcfirst }}(client: Client) : Service(client) {
2323
2424{% for method in service .methods %}
2525 /**
26- * {{ method .description | replace({" \n" : " \n * " }) | raw }}
26+ * {{ method .description | replace({" \n" : " \n * " }) | raw }}
2727 *
2828 {%~ for parameter in method .parameters .all %}
2929 * @param {{ parameter .name | caseCamel }} {{ parameter .description | raw }}
@@ -97,7 +97,7 @@ class {{ service.name | caseUcfirst }}(client: Client) : Service(client) {
9797 {%~ if method .responseModel | hasGenericType(spec ) %}
9898
9999 /**
100- * {{ method .description | raw | replace({" \n" : " " , " \r " : " " }) }}
100+ * {{ method .description | replace({" \n" : " \n * " }) | raw }}
101101 *
102102 {%~ for parameter in method .parameters .all %}
103103 * @param {{ parameter .name | caseCamel }} {{ parameter .description | raw }}
You can’t perform that action at this time.
0 commit comments