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

import Foundation
import Get
import URLQueryEncoder

extension Paths {
    public static var discover: Discover {
        Discover(path: "/api/discover")
    }

    public struct Discover {
        /// Path: `/api/discover`
        public let path: String

        /// Discover Feed
        ///
        /// Get homepage sections with timeout
        public func post(_ body: GenAPI.DiscoverReq) -> Request<GenAPI.DiscoverResp> {
            Request(path: path, method: "POST", body: body, id: "studio_api_discover_api_discover_feed")
        }
    }
}
