Skip to content

Commit

Permalink
add system upload docs
Browse files Browse the repository at this point in the history
  • Loading branch information
xxl4 committed Nov 21, 2024
1 parent 17a19d3 commit 95f5e81
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions src/Docs/V1/Admin/Controllers/System/TinyMCEController.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<?php

namespace NexaMerchant\Apis\Docs\V1\Admin\Controllers\System;

class TinyMCEController
{
/**
* @OA\Post(
* path="/api/v1/admin/system/tinymce/upload",
* operationId="uploadTinyMCE",
* tags={"TinyMCE"},
* summary="Upload file from TinyMCE",
* description="Upload file from TinyMCE",
* security={ {"sanctum_admin": {} }},
*
* @OA\RequestBody(
* required=true,
* description="Upload file from TinyMCE",
* @OA\MediaType(
* mediaType="multipart/form-data",
* @OA\Schema(
* @OA\Property(
* property="file",
* description="File to upload",
* type="file",
* ),
* )
* )
* ),
*
* @OA\Response(
* response=200,
* description="Successful operation",
* @OA\JsonContent(
* @OA\Property(
* property="location",
* type="string",
* description="File location",
* ),
* ),
* ),
* )
*/
public function upload()
{
}
}

0 comments on commit 95f5e81

Please sign in to comment.