// Generated by Create API
// https://github.com/CreateAPI/CreateAPI

import Foundation
import Get
import URLQueryEncoder

extension Paths.Search {
    public var users: Users {
        Users(path: path + "/users")
    }

    public struct Users {
        /// Path: `/api/search/users`
        public let path: String

        /// Search Users
        public func post(_ body: GenAPI.UserSearchRequest) -> Request<[GenAPI.SimpleProfileInfoSchema]> {
            Request(path: path, method: "POST", body: body, id: "studio_api_search_api_search_users")
        }
    }
}
