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

import Foundation
import Get
import URLQueryEncoder

extension Paths.Contests {
    public var createContest: CreateContest {
        CreateContest(path: path + "/create_contest")
    }

    public struct CreateContest {
        /// Path: `/api/contests/create_contest`
        public let path: String

        /// Create Contest
        public func post(_ body: GenAPI.CreateContestSpec) -> Request<GenAPI.ContestSchema> {
            Request(path: path, method: "POST", body: body, id: "studio_api_contests_api_create_contest")
        }
    }
}
