mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: correct SCIM Swagger try it out URLs (#24779)
This commit is contained in:
@@ -31,7 +31,7 @@ import (
|
||||
// @Tags Agents
|
||||
// @Param request body agentsdk.AzureInstanceIdentityToken true "Instance identity token. The optional agent_name field disambiguates when multiple agents share the same instance ID."
|
||||
// @Success 200 {object} agentsdk.AuthenticateResponse
|
||||
// @Router /workspaceagents/azure-instance-identity [post]
|
||||
// @Router /api/v2/workspaceagents/azure-instance-identity [post]
|
||||
func (api *API) postWorkspaceAuthAzureInstanceIdentity(rw http.ResponseWriter, r *http.Request) {
|
||||
ctx := r.Context()
|
||||
var req agentsdk.AzureInstanceIdentityToken
|
||||
@@ -63,7 +63,7 @@ func (api *API) postWorkspaceAuthAzureInstanceIdentity(rw http.ResponseWriter, r
|
||||
// @Tags Agents
|
||||
// @Param request body agentsdk.AWSInstanceIdentityToken true "Instance identity token. The optional agent_name field disambiguates when multiple agents share the same instance ID."
|
||||
// @Success 200 {object} agentsdk.AuthenticateResponse
|
||||
// @Router /workspaceagents/aws-instance-identity [post]
|
||||
// @Router /api/v2/workspaceagents/aws-instance-identity [post]
|
||||
func (api *API) postWorkspaceAuthAWSInstanceIdentity(rw http.ResponseWriter, r *http.Request) {
|
||||
ctx := r.Context()
|
||||
var req agentsdk.AWSInstanceIdentityToken
|
||||
@@ -93,7 +93,7 @@ func (api *API) postWorkspaceAuthAWSInstanceIdentity(rw http.ResponseWriter, r *
|
||||
// @Tags Agents
|
||||
// @Param request body agentsdk.GoogleInstanceIdentityToken true "Instance identity token. The optional agent_name field disambiguates when multiple agents share the same instance ID."
|
||||
// @Success 200 {object} agentsdk.AuthenticateResponse
|
||||
// @Router /workspaceagents/google-instance-identity [post]
|
||||
// @Router /api/v2/workspaceagents/google-instance-identity [post]
|
||||
func (api *API) postWorkspaceAuthGoogleInstanceIdentity(rw http.ResponseWriter, r *http.Request) {
|
||||
ctx := r.Context()
|
||||
var req agentsdk.GoogleInstanceIdentityToken
|
||||
|
||||
Reference in New Issue
Block a user