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

import Foundation
import Get
import URLQueryEncoder

extension Paths {
    public static var search: Search {
        Search(path: "/api/search")
    }

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

        /// Search
        public func post(_ body: GenAPI.SearchRequest) -> Request<GenAPI.SearchResult> {
            Request(path: path, method: "POST", body: body, id: "studio_api_search_api_search")
        }
    }
}
