Add OpenAPI annotations for query params of getOrgUsersForCurrentOrg API route (#101419)

This commit is contained in:
xavi
2025-02-28 13:41:58 +01:00
committed by GitHub
parent f5e5824bab
commit ec29f6cb60
3 changed files with 40 additions and 0 deletions
+10
View File
@@ -542,6 +542,16 @@ type AddOrgUserParams struct {
OrgID int64 `json:"org_id"`
}
// swagger:parameters getOrgUsersForCurrentOrg
type GetOrgUsersForCurrentOrgParams struct {
// in:query
// required:false
Query string `json:"query"`
// in:query
// required:false
Limit int `json:"limit"`
}
// swagger:parameters getOrgUsersForCurrentOrgLookup
type LookupOrgUsersParams struct {
// in:query