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

Skip to content

Commit 749522c

Browse files
committed
Add crypto-key fetching to API documentation
Introduce documentation for new API endpoint to fetch workspace proxy signing keys. This addition supports enterprise use cases involving workspace proxies by documenting the models `CryptoKey`, `CryptoKeyFeature`, and `CryptoKeysResponse`.
1 parent 945c172 commit 749522c

File tree

4 files changed

+200
-1
lines changed

4 files changed

+200
-1
lines changed

coderd/apidoc/docs.go

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

docs/reference/api/schemas.md

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

enterprise/coderd/workspaceproxy.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,6 @@ func (api *API) workspaceProxyRegister(rw http.ResponseWriter, r *http.Request)
724724
// @Success 200 {object} wsproxysdk.CryptoKeysResponse
725725
// @Router /workspaceproxies/me/crypto-keys [get]
726726
// @x-apidocgen {"skip": true}
727-
728727
func (api *API) workspaceProxyCryptoKeys(rw http.ResponseWriter, r *http.Request) {
729728
ctx := r.Context()
730729

0 commit comments

Comments
 (0)