Skip to content

Commit 5261b99

Browse files
committed
fix
1 parent f5ead4f commit 5261b99

File tree

4 files changed

+1
-11
lines changed

4 files changed

+1
-11
lines changed

coderd/apidoc/docs.go

Lines changed: 0 additions & 6 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: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/coderdtest/swaggerparser.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,6 @@ func assertProduce(t *testing.T, comment SwaggerComment) {
356356
return // Exception: HTTP 200 is returned without response entity
357357
}
358358

359-
assert.True(t, comment.produce == "", "Response model is undefined, so we can't predict the content type", comment)
359+
assert.Truef(t, comment.produce == "", "Response model is undefined, so we can't predict the content type: %v", comment)
360360
}
361361
}

coderd/deprecated.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import (
99
// @Summary Removed: Get parameters by template version
1010
// @ID removed-get-parameters-by-template-version
1111
// @Security CoderSessionToken
12-
// @Produce json
1312
// @Tags Templates
1413
// @Param templateversion path string true "Template version ID" format(uuid)
1514
// @Success 200
@@ -21,7 +20,6 @@ func templateVersionParametersDeprecated(rw http.ResponseWriter, r *http.Request
2120
// @Summary Removed: Get schema by template version
2221
// @ID removed-get-schema-by-template-version
2322
// @Security CoderSessionToken
24-
// @Produce json
2523
// @Tags Templates
2624
// @Param templateversion path string true "Template version ID" format(uuid)
2725
// @Success 200

0 commit comments

Comments
 (0)