File tree 2 files changed +9
-2
lines changed
scripts/apidocgen/markdown-template 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ Status Code **200**
157
157
158
158
| Name | Type | Required | Restrictions | Description |
159
159
| ------------------------------------ | --------------------------------- | -------- | ------------ | ------------------------------------------ |
160
- | ` *anonymous* ` | array | false | | |
160
+ | ` [array items] ` | array | false | | |
161
161
| ` » active_user_count ` | integer | false | | ActiveUserCount is set to -1 when loading. |
162
162
| ` » active_version_id ` | string | false | | |
163
163
| ` » allow_user_cancel_workspace_jobs ` | boolean | false | | |
Original file line number Diff line number Diff line change 24
24
}
25
25
return renderSingleResponseType(r);
26
26
}
27
+
28
+ function renderDisplayName(p) {
29
+ if (p.displayName == "*anonymous*") {
30
+ return "[array items]";
31
+ }
32
+ return p.displayName;
33
+ }
27
34
}}
28
35
{{ data.responses = data.utils.getResponses(data); }}
29
36
{{ data.responseSchemas = false; }}
@@ -77,7 +84,7 @@ Status Code **{{=response.status}}**
77
84
{{?}}
78
85
|Name|Type|Required|Restrictions|Description|
79
86
|---|---|---|---|---|
80
- {{~block.rows :p}}|`{{=p.displayName }}`|{{? p.$ref}}`{{=p.$ref}}`{{?}}{{? !p.$ref}}{{=p.type}}{{?}}|{{=p.required}}|{{=p.restrictions||''}}|{{=p.description||''}}|
87
+ {{~block.rows :p}}|`{{=renderDisplayName(p) }}`|{{? p.$ref}}`{{=p.$ref}}`{{?}}{{? !p.$ref}}{{=p.type}}{{?}}|{{=p.required}}|{{=p.restrictions||''}}|{{=p.description||''}}|
81
88
{{~}}
82
89
{{~}}
83
90
{{?}}
You can’t perform that action at this time.
0 commit comments