Skip to content

Commit e3d9ed6

Browse files
committed
add swager annotation
1 parent 69d25de commit e3d9ed6

File tree

4 files changed

+20
-6
lines changed

4 files changed

+20
-6
lines changed

coderd/apidoc/docs.go

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/apidoc/swagger.json

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/templateversions.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,7 @@ func (api *API) fetchTemplateVersionDryRunJob(rw http.ResponseWriter, r *http.Re
704704
// @Tags Templates
705705
// @Param template path string true "Template ID" format(uuid)
706706
// @Param after_id query string false "After ID" format(uuid)
707+
// @Param include_archived query bool false "Include archived versions in the list"
707708
// @Param limit query int false "Page limit"
708709
// @Param offset query int false "Page offset"
709710
// @Success 200 {array} codersdk.TemplateVersion

docs/api/templates.md

Lines changed: 7 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)