Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 234f140

Browse files
committed
Fix: any property
1 parent 95c7760 commit 234f140

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/api/templates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ Status Code **200**
162162
| `» active_version_id` | string | false | | |
163163
| `» allow_user_cancel_workspace_jobs` | boolean | false | | |
164164
| `» build_time_stats` | `codersdk.TemplateBuildTimeStats` | false | | |
165-
| `»» **additionalProperties**` | `codersdk.TransitionStats` | false | | |
165+
| `»» [any property]` | `codersdk.TransitionStats` | false | | |
166166
| `»»» p50` | integer | false | | |
167167
| `»»» p95` | integer | false | | |
168168
| `» created_at` | string | false | | |

scripts/apidocgen/markdown-template/responses.def

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
if (p.displayName == "*anonymous*") {
3030
return "[array items]";
3131
}
32-
return p.displayName;
32+
let displayName = p.displayName.replace("**additionalProperties**", "[any property]");
33+
return displayName;
3334
}
3435
}}
3536
{{ data.responses = data.utils.getResponses(data); }}

0 commit comments

Comments
 (0)