mirror of
https://github.com/hanzoai/iam.git
synced 2026-11-19 18:37:16 +00:00
zipdoc keys each entry by package and address now, so the generated files are rewritten in that shape; the JWKS and token endpoints name their handler at each address so the lift finds it. Co-authored-by: Hanzo Dev <[email protected]>
38 lines
1.9 KiB
Go
38 lines
1.9 KiB
Go
// Code generated by zipdoc; DO NOT EDIT.
|
|
|
|
package workspaces
|
|
|
|
import (
|
|
"github.com/zap-proto/zip"
|
|
)
|
|
|
|
func init() {
|
|
zip.Describe("github.com/hanzoai/iam/internal/workspaces DELETE /v1/iam/workspaces/:owner/:name", zip.Doc{
|
|
Description: "Removes a workspace. The people and roles in your organization are\nunchanged; what goes is the scope itself.",
|
|
})
|
|
zip.Describe("github.com/hanzoai/iam/internal/workspaces GET /v1/iam/workspaces", zip.Doc{
|
|
Description: "Returns your organization's workspaces, newest first — the scope a\nteam works in, alongside projects rather than instead of them.\n\nYou see your own organization's workspaces and no one else's; which organization that\nis comes from your credentials, not from the request.",
|
|
Fields: map[string]string{
|
|
"Model[github.com/hanzoai/iam/pkg/schema.Workspace].id": "Persisted fields",
|
|
},
|
|
})
|
|
zip.Describe("github.com/hanzoai/iam/internal/workspaces GET /v1/iam/workspaces/:owner/:name", zip.Doc{
|
|
Description: "Returns one workspace: what it is called and how it is set up.",
|
|
Fields: map[string]string{
|
|
"Model[github.com/hanzoai/iam/pkg/schema.Workspace].id": "Persisted fields",
|
|
},
|
|
})
|
|
zip.Describe("github.com/hanzoai/iam/internal/workspaces POST /v1/iam/workspaces", zip.Doc{
|
|
Description: "Makes a workspace inside your organization — the scope a team works in,\nalongside projects rather than instead of them. A name already used in the\norganization is refused.",
|
|
Fields: map[string]string{
|
|
"Model[github.com/hanzoai/iam/pkg/schema.Workspace].id": "Persisted fields",
|
|
},
|
|
})
|
|
zip.Describe("github.com/hanzoai/iam/internal/workspaces PUT /v1/iam/workspaces/:owner/:name", zip.Doc{
|
|
Description: "Changes a workspace's settings. What it is called does not change, and\nneither does when it was created.",
|
|
Fields: map[string]string{
|
|
"Model[github.com/hanzoai/iam/pkg/schema.Workspace].id": "Persisted fields",
|
|
},
|
|
})
|
|
}
|