docs:移除coach swagger註解
This commit is contained in:
@@ -4,23 +4,7 @@ namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="CoachProfile",
|
||||
* title="教練個人資料",
|
||||
* description="教練的詳細個人資料",
|
||||
* @OA\Property(property="id", type="integer", format="int64", example=1, description="資料ID"),
|
||||
* @OA\Property(property="user_id", type="integer", format="int64", example=1, description="關聯的使用者ID"),
|
||||
* @OA\Property(property="bio", type="string", example="專業潛水教練,擁有10年教學經驗", description="個人簡介"),
|
||||
* @OA\Property(property="expertise", type="string", example="自由潛水,水肺潛水", description="專長領域"),
|
||||
* @OA\Property(property="certification", type="string", example="PADI專業潛水教練", description="證照資訊"),
|
||||
* @OA\Property(property="experience", type="string", example="10年教學經驗,帶領超過500名學員", description="教學經驗"),
|
||||
* @OA\Property(property="rating", type="number", format="float", example=4.8, description="評分"),
|
||||
* @OA\Property(property="availability", type="string", example="週一至週五 09:00-18:00", description="可授課時間"),
|
||||
* @OA\Property(property="created_at", type="string", format="date-time", example="2023-01-01T00:00:00.000000Z", description="創建時間"),
|
||||
* @OA\Property(property="updated_at", type="string", format="date-time", example="2023-01-01T00:00:00.000000Z", description="更新時間")
|
||||
* )
|
||||
*/
|
||||
// 該模型已棄用,請使用ProviderProfile模型
|
||||
class CoachProfile extends Model
|
||||
{
|
||||
/**
|
||||
|
||||
@@ -7,8 +7,8 @@ use Illuminate\Database\Eloquent\Model;
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="ProviderProfile",
|
||||
* title="潛水業者資料",
|
||||
* description="潛水業者的詳細資料",
|
||||
* title="服務提供者資料",
|
||||
* description="服務提供者的詳細資料",
|
||||
* @OA\Property(property="id", type="integer", format="int64", example=1, description="資料ID"),
|
||||
* @OA\Property(property="user_id", type="integer", format="int64", example=1, description="關聯的使用者ID"),
|
||||
* @OA\Property(property="business_name", type="string", example="藍海潛水中心", description="業者名稱"),
|
||||
|
||||
@@ -2618,68 +2618,6 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"CoachProfile": {
|
||||
"title": "教練個人資料",
|
||||
"description": "教練的詳細個人資料",
|
||||
"properties": {
|
||||
"id": {
|
||||
"description": "資料ID",
|
||||
"type": "integer",
|
||||
"format": "int64",
|
||||
"example": 1
|
||||
},
|
||||
"user_id": {
|
||||
"description": "關聯的使用者ID",
|
||||
"type": "integer",
|
||||
"format": "int64",
|
||||
"example": 1
|
||||
},
|
||||
"bio": {
|
||||
"description": "個人簡介",
|
||||
"type": "string",
|
||||
"example": "專業潛水教練,擁有10年教學經驗"
|
||||
},
|
||||
"expertise": {
|
||||
"description": "專長領域",
|
||||
"type": "string",
|
||||
"example": "自由潛水,水肺潛水"
|
||||
},
|
||||
"certification": {
|
||||
"description": "證照資訊",
|
||||
"type": "string",
|
||||
"example": "PADI專業潛水教練"
|
||||
},
|
||||
"experience": {
|
||||
"description": "教學經驗",
|
||||
"type": "string",
|
||||
"example": "10年教學經驗,帶領超過500名學員"
|
||||
},
|
||||
"rating": {
|
||||
"description": "評分",
|
||||
"type": "number",
|
||||
"format": "float",
|
||||
"example": 4.8
|
||||
},
|
||||
"availability": {
|
||||
"description": "可授課時間",
|
||||
"type": "string",
|
||||
"example": "週一至週五 09:00-18:00"
|
||||
},
|
||||
"created_at": {
|
||||
"description": "創建時間",
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"example": "2023-01-01T00:00:00.000000Z"
|
||||
},
|
||||
"updated_at": {
|
||||
"description": "更新時間",
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"example": "2023-01-01T00:00:00.000000Z"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"MemberProfile": {
|
||||
"title": "會員個人資料",
|
||||
"description": "會員的詳細個人資料",
|
||||
@@ -2743,8 +2681,8 @@
|
||||
"type": "object"
|
||||
},
|
||||
"ProviderProfile": {
|
||||
"title": "潛水業者資料",
|
||||
"description": "潛水業者的詳細資料",
|
||||
"title": "服務提供者資料",
|
||||
"description": "服務提供者的詳細資料",
|
||||
"properties": {
|
||||
"id": {
|
||||
"description": "資料ID",
|
||||
|
||||
Reference in New Issue
Block a user