api endpoints fix and inclusion
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2025-08-10 15:39:48 +09:00
parent 7ecc556c77
commit b595bcc9bc
65 changed files with 6046 additions and 263 deletions

View File

@@ -0,0 +1,454 @@
[14:52:17] OpenAPI: http://localhost:8080/openapi.json
[14:52:17] ✔ OpenAPI fetched (32448 bytes)
[14:52:17] Prepare tokens
[14:52:17] REGISTER admin+20250810_145217@audit.dev → http://localhost:8080/auth/v1/register
HTTP: 201
[14:52:17] TOKEN for admin+20250810_145217@audit.dev → http://localhost:8080/auth/v1/token
HTTP: 200
{"access_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJhY2Q5ZTQ5YS1jNTQ5LTQxZDUtODA0NC0zODZkODMzZmVlYjQiLCJlbWFpbCI6ImFkbWluKzIwMjUwODEwXzE0NTIxN0BhdWRpdC5kZXYiLCJyb2xlIjoiQ0xJRU5UIiwidHlwZSI6ImFjY2VzcyIsImV4cCI6MTc1NDgwNjAzN30.dFVm89lOssfFuTI5MJWGTi4c6fVLc80sFZkbdg5o_SU","refresh_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJhY2Q5ZTQ5YS1jNTQ5LTQxZDUtODA0NC0zODZkODMzZmVlYjQiLCJlbWFpbCI6ImFkbWluKzIwMjUwODEwXzE0NTIxN0BhdWRpdC5kZXYiLCJyb2xlIjoiQ0xJRU5UIiwidHlwZSI6InJlZnJlc2giLCJ[14:52:18] REGISTER client+20250810_145217@audit.dev → http://localhost:8080/auth/v1/register
HTTP: 201
[14:52:18] TOKEN for client+20250810_145217@audit.dev → http://localhost:8080/auth/v1/token
HTTP: 200
{"access_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJiYzU5YTRiOC03YzA5LTRkMGQtODE3NC1kYjM1ZmRhNzAxOWYiLCJlbWFpbCI6ImNsaWVudCsyMDI1MDgxMF8xNDUyMTdAYXVkaXQuZGV2Iiwicm9sZSI6IkNMSUVOVCIsInR5cGUiOiJhY2Nlc3MiLCJleHAiOjE3NTQ4MDYwMzh9.JnJ-rl58Qtpf8PY-1OjhDjlrCJ66vR-nFO0tEQad7QM","refresh_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJiYzU5YTRiOC03YzA5LTRkMGQtODE3NC1kYjM1ZmRhNzAxOWYiLCJlbWFpbCI6ImNsaWVudCsyMDI1MDgxMF8xNDUyMTdAYXVkaXQuZGV2Iiwicm9sZSI6IkNMSUVOVCIsInR5cGUiOiJyZWZyZXNoIi[14:52:18] ✔ Tokens acquired
[14:52:18] Analyze pathparameters in schema…
[14:52:18] ✖ Найдены операции без объявленных pathпараметров: 19
[
{
"path": "/auth/v1/users/{user_id}",
"method": "get",
"needed": [
[
"user_id"
]
],
"defined": [
"user_id"
],
"missing": [
[
"user_id"
]
],
"opId": "get_user_v1_users__user_id__get",
"security": [
{
"OAuth2PasswordBearer": []
}
]
},
{
"path": "/auth/v1/users/{user_id}",
"method": "delete",
"needed": [
[
"user_id"
]
],
"defined": [
"user_id"
],
"missing": [
[
"user_id"
]
],
"opId": "delete_user_v1_users__user_id__delete",
"security": [
{
"OAuth2PasswordBearer": []
}
]
},
{
"path": "/auth/v1/users/{user_id}",
"method": "patch",
"needed": [
[
"user_id"
]
],
"defined": [
"user_id"
],
"missing": [
[
"user_id"
]
],
"opId": "update_user_v1_users__user_id__patch",
"security": [
{
"OAuth2PasswordBearer": []
}
]
},
{
"path": "/profiles/v1/profiles/{profile_id}",
"method": "get",
"needed": [
[
"profile_id"
]
],
"defined": [
"profile_id"
],
"missing": [
[
"profile_id"
]
],
"opId": "get_profile_v1_profiles__profile_id__get",
"security": [
{
"HTTPBearer": []
}
]
},
{
"path": "/profiles/v1/profiles/by-user/{user_id}",
"method": "get",
"needed": [
[
"user_id"
]
],
"defined": [
"user_id"
],
"missing": [
[
"user_id"
]
],
"opId": "get_by_user_v1_profiles_by_user__user_id__get",
"security": [
{
"HTTPBearer": []
}
]
},
{
"path": "/profiles/v1/likes/{target_user_id}",
"method": "put",
"needed": [
[
"target_user_id"
]
],
"defined": [
"target_user_id"
],
"missing": [
[
"target_user_id"
]
],
"opId": "put_like_v1_likes__target_user_id__put",
"security": [
{
"HTTPBearer": []
}
]
},
{
"path": "/profiles/v1/likes/{target_user_id}",
"method": "delete",
"needed": [
[
"target_user_id"
]
],
"defined": [
"target_user_id"
],
"missing": [
[
"target_user_id"
]
],
"opId": "delete_like_v1_likes__target_user_id__delete",
"security": [
{
"HTTPBearer": []
}
]
},
{
"path": "/match/v1/pairs/{pair_id}",
"method": "get",
"needed": [
[
"pair_id"
]
],
"defined": [
"pair_id"
],
"missing": [
[
"pair_id"
]
],
"opId": "get_pair_v1_pairs__pair_id__get",
"security": [
{
"OAuth2PasswordBearer": []
}
]
},
{
"path": "/match/v1/pairs/{pair_id}",
"method": "delete",
"needed": [
[
"pair_id"
]
],
"defined": [
"pair_id"
],
"missing": [
[
"pair_id"
]
],
"opId": "delete_pair_v1_pairs__pair_id__delete",
"security": [
{
"OAuth2PasswordBearer": []
}
]
},
{
"path": "/match/v1/pairs/{pair_id}",
"method": "patch",
"needed": [
[
"pair_id"
]
],
"defined": [
"pair_id"
],
"missing": [
[
"pair_id"
]
],
"opId": "update_pair_v1_pairs__pair_id__patch",
"security": [
{
"OAuth2PasswordBearer": []
}
]
},
{
"path": "/match/v1/pairs/{pair_id}/accept",
"method": "post",
"needed": [
[
"pair_id"
]
],
"defined": [
"pair_id"
],
"missing": [
[
"pair_id"
]
],
"opId": "accept_v1_pairs__pair_id__accept_post",
"security": [
{
"OAuth2PasswordBearer": []
}
]
},
{
"path": "/match/v1/pairs/{pair_id}/reject",
"method": "post",
"needed": [
[
"pair_id"
]
],
"defined": [
"pair_id"
],
"missing": [
[
"pair_id"
]
],
"opId": "reject_v1_pairs__pair_id__reject_post",
"security": [
{
"OAuth2PasswordBearer": []
}
]
},
{
"path": "/chat/v1/rooms/{room_id}",
"method": "get",
"needed": [
[
"room_id"
]
],
"defined": [
"room_id"
],
"missing": [
[
"room_id"
]
],
"opId": "get_room_v1_rooms__room_id__get",
"security": [
{
"OAuth2PasswordBearer": []
}
]
},
{
"path": "/chat/v1/rooms/{room_id}/messages",
"method": "get",
"needed": [
[
"room_id"
]
],
"defined": [
"room_id"
],
"missing": [
[
"room_id"
]
],
"opId": "list_messages_v1_rooms__room_id__messages_get",
"security": [
{
"OAuth2PasswordBearer": []
}
]
},
{
"path": "/chat/v1/rooms/{room_id}/messages",
"method": "post",
"needed": [
[
"room_id"
]
],
"defined": [
"room_id"
],
"missing": [
[
"room_id"
]
],
"opId": "send_message_v1_rooms__room_id__messages_post",
"security": [
{
"OAuth2PasswordBearer": []
}
]
},
{
"path": "/payments/v1/invoices/{inv_id}",
"method": "get",
"needed": [
[
"inv_id"
]
],
"defined": [
"inv_id"
],
"missing": [
[
"inv_id"
]
],
"opId": "get_invoice_v1_invoices__inv_id__get",
"security": [
{
"OAuth2PasswordBearer": []
}
]
},
{
"path": "/payments/v1/invoices/{inv_id}",
"method": "delete",
"needed": [
[
"inv_id"
]
],
"defined": [
"inv_id"
],
"missing": [
[
"inv_id"
]
],
"opId": "delete_invoice_v1_invoices__inv_id__delete",
"security": [
{
"OAuth2PasswordBearer": []
}
]
},
{
"path": "/payments/v1/invoices/{inv_id}",
"method": "patch",
"needed": [
[
"inv_id"
]
],
"defined": [
"inv_id"
],
"missing": [
[
"inv_id"
]
],
"opId": "update_invoice_v1_invoices__inv_id__patch",
"security": [
{
"OAuth2PasswordBearer": []
}
]
},
{
"path": "/payments/v1/invoices/{inv_id}/mark-paid",
"method": "post",
"needed": [
[
"inv_id"
]
],
"defined": [
"inv_id"
],
"missing": [
[
"inv_id"
]
],
"opId": "mark_paid_v1_invoices__inv_id__mark_paid_post",
"security": [
{
"OAuth2PasswordBearer": []
}
]
}
]
[14:52:18] SMOKE missing-param operations…