Skip to content

docs: api root, buildinfo, csp #5493

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 31 commits into from
Dec 22, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix: any property
  • Loading branch information
mtojek committed Dec 22, 2022
commit 234f1402c0ec04d958a13a2f4d006c6dcac18f13
2 changes: 1 addition & 1 deletion docs/api/templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ Status Code **200**
| `» active_version_id` | string | false | | |
| `» allow_user_cancel_workspace_jobs` | boolean | false | | |
| `» build_time_stats` | `codersdk.TemplateBuildTimeStats` | false | | |
| `»» **additionalProperties**` | `codersdk.TransitionStats` | false | | |
| `»» [any property]` | `codersdk.TransitionStats` | false | | |
| `»»» p50` | integer | false | | |
| `»»» p95` | integer | false | | |
| `» created_at` | string | false | | |
Expand Down
3 changes: 2 additions & 1 deletion scripts/apidocgen/markdown-template/responses.def
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
if (p.displayName == "*anonymous*") {
return "[array items]";
}
return p.displayName;
let displayName = p.displayName.replace("**additionalProperties**", "[any property]");
return displayName;
}
}}
{{ data.responses = data.utils.getResponses(data); }}
Expand Down