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

import Foundation
import Get
import URLQueryEncoder

extension Paths.Gen.WithClipId {
    public var comment: Comment {
        Comment(path: path + "/comment")
    }

    public struct Comment {
        /// Path: `/api/gen/{clip_id}/comment`
        public let path: String

        /// Post Comment
        ///
        /// Add a comment to a clip.
        public func post(_ body: GenAPI.PostCommentRequest) -> Request<GenAPI.CommentSchema> {
            Request(path: path, method: "POST", body: body, id: "studio_api_bots_gen_api_post_comment")
        }
    }
}
