mirror of
https://github.com/jikan-me/jikan-rest.git
synced 2025-02-20 11:23:35 +08:00
update docs [#490]: Random API: adds sfw and unapproved
This commit is contained in:
parent
389b58aa99
commit
0442af7631
@ -44,7 +44,8 @@ class RandomController extends Controller
|
||||
* operationId="getRandomAnime",
|
||||
* tags={"random"},
|
||||
*
|
||||
* @OA\Parameter(ref="#/components/parameters/limit"),
|
||||
* @OA\Parameter(ref="#/components/parameters/sfw"),
|
||||
* @OA\Parameter(ref="#/components/parameters/unapproved"),
|
||||
*
|
||||
* @OA\Response(
|
||||
* response="200",
|
||||
@ -73,6 +74,8 @@ class RandomController extends Controller
|
||||
* operationId="getRandomAnimeList",
|
||||
* tags={"random"},
|
||||
*
|
||||
* @OA\Parameter(ref="#/components/parameters/sfw"),
|
||||
* @OA\Parameter(ref="#/components/parameters/unapproved"),
|
||||
* @OA\Parameter(ref="#/components/parameters/limit"),
|
||||
*
|
||||
* @OA\Response(
|
||||
@ -106,7 +109,8 @@ class RandomController extends Controller
|
||||
* operationId="getRandomManga",
|
||||
* tags={"random"},
|
||||
*
|
||||
* @OA\Parameter(ref="#/components/parameters/limit"),
|
||||
* @OA\Parameter(ref="#/components/parameters/sfw"),
|
||||
* @OA\Parameter(ref="#/components/parameters/unapproved"),
|
||||
*
|
||||
* @OA\Response(
|
||||
* response="200",
|
||||
@ -135,6 +139,8 @@ class RandomController extends Controller
|
||||
* operationId="getRandomMangaList",
|
||||
* tags={"random"},
|
||||
*
|
||||
* @OA\Parameter(ref="#/components/parameters/sfw"),
|
||||
* @OA\Parameter(ref="#/components/parameters/unapproved"),
|
||||
* @OA\Parameter(ref="#/components/parameters/limit"),
|
||||
*
|
||||
* @OA\Response(
|
||||
@ -168,7 +174,8 @@ class RandomController extends Controller
|
||||
* operationId="getRandomCharacters",
|
||||
* tags={"random"},
|
||||
*
|
||||
* @OA\Parameter(ref="#/components/parameters/limit"),
|
||||
* @OA\Parameter(ref="#/components/parameters/sfw"),
|
||||
* @OA\Parameter(ref="#/components/parameters/unapproved"),
|
||||
*
|
||||
* @OA\Response(
|
||||
* response="200",
|
||||
@ -197,6 +204,8 @@ class RandomController extends Controller
|
||||
* operationId="getRandomCharactersList",
|
||||
* tags={"random"},
|
||||
*
|
||||
* @OA\Parameter(ref="#/components/parameters/sfw"),
|
||||
* @OA\Parameter(ref="#/components/parameters/unapproved"),
|
||||
* @OA\Parameter(ref="#/components/parameters/limit"),
|
||||
*
|
||||
* @OA\Response(
|
||||
@ -230,7 +239,8 @@ class RandomController extends Controller
|
||||
* operationId="getRandomPeople",
|
||||
* tags={"random"},
|
||||
*
|
||||
* @OA\Parameter(ref="#/components/parameters/limit"),
|
||||
* @OA\Parameter(ref="#/components/parameters/sfw"),
|
||||
* @OA\Parameter(ref="#/components/parameters/unapproved"),
|
||||
*
|
||||
* @OA\Response(
|
||||
* response="200",
|
||||
@ -259,6 +269,8 @@ class RandomController extends Controller
|
||||
* operationId="getRandomPeopleList",
|
||||
* tags={"random"},
|
||||
*
|
||||
* @OA\Parameter(ref="#/components/parameters/sfw"),
|
||||
* @OA\Parameter(ref="#/components/parameters/unapproved"),
|
||||
* @OA\Parameter(ref="#/components/parameters/limit"),
|
||||
*
|
||||
* @OA\Response(
|
||||
@ -292,7 +304,8 @@ class RandomController extends Controller
|
||||
* operationId="getRandomUsers",
|
||||
* tags={"random"},
|
||||
*
|
||||
* @OA\Parameter(ref="#/components/parameters/limit"),
|
||||
* @OA\Parameter(ref="#/components/parameters/sfw"),
|
||||
* @OA\Parameter(ref="#/components/parameters/unapproved"),
|
||||
*
|
||||
* @OA\Response(
|
||||
* response="200",
|
||||
@ -321,6 +334,8 @@ class RandomController extends Controller
|
||||
* operationId="getRandomUsersList",
|
||||
* tags={"random"},
|
||||
*
|
||||
* @OA\Parameter(ref="#/components/parameters/sfw"),
|
||||
* @OA\Parameter(ref="#/components/parameters/unapproved"),
|
||||
* @OA\Parameter(ref="#/components/parameters/limit"),
|
||||
*
|
||||
* @OA\Response(
|
||||
|
@ -2024,7 +2024,10 @@
|
||||
"operationId": "getRandomAnime",
|
||||
"parameters": [
|
||||
{
|
||||
"$ref": "#/components/parameters/limit"
|
||||
"$ref": "#/components/parameters/sfw"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/parameters/unapproved"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
@ -2056,6 +2059,12 @@
|
||||
],
|
||||
"operationId": "getRandomAnimeList",
|
||||
"parameters": [
|
||||
{
|
||||
"$ref": "#/components/parameters/sfw"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/parameters/unapproved"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/parameters/limit"
|
||||
}
|
||||
@ -2093,7 +2102,10 @@
|
||||
"operationId": "getRandomManga",
|
||||
"parameters": [
|
||||
{
|
||||
"$ref": "#/components/parameters/limit"
|
||||
"$ref": "#/components/parameters/sfw"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/parameters/unapproved"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
@ -2125,6 +2137,12 @@
|
||||
],
|
||||
"operationId": "getRandomMangaList",
|
||||
"parameters": [
|
||||
{
|
||||
"$ref": "#/components/parameters/sfw"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/parameters/unapproved"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/parameters/limit"
|
||||
}
|
||||
@ -2162,7 +2180,10 @@
|
||||
"operationId": "getRandomCharacters",
|
||||
"parameters": [
|
||||
{
|
||||
"$ref": "#/components/parameters/limit"
|
||||
"$ref": "#/components/parameters/sfw"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/parameters/unapproved"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
@ -2194,6 +2215,12 @@
|
||||
],
|
||||
"operationId": "getRandomCharactersList",
|
||||
"parameters": [
|
||||
{
|
||||
"$ref": "#/components/parameters/sfw"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/parameters/unapproved"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/parameters/limit"
|
||||
}
|
||||
@ -2231,7 +2258,10 @@
|
||||
"operationId": "getRandomPeople",
|
||||
"parameters": [
|
||||
{
|
||||
"$ref": "#/components/parameters/limit"
|
||||
"$ref": "#/components/parameters/sfw"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/parameters/unapproved"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
@ -2263,6 +2293,12 @@
|
||||
],
|
||||
"operationId": "getRandomPeopleList",
|
||||
"parameters": [
|
||||
{
|
||||
"$ref": "#/components/parameters/sfw"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/parameters/unapproved"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/parameters/limit"
|
||||
}
|
||||
@ -2300,7 +2336,10 @@
|
||||
"operationId": "getRandomUsers",
|
||||
"parameters": [
|
||||
{
|
||||
"$ref": "#/components/parameters/limit"
|
||||
"$ref": "#/components/parameters/sfw"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/parameters/unapproved"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
@ -2332,6 +2371,12 @@
|
||||
],
|
||||
"operationId": "getRandomUsersList",
|
||||
"parameters": [
|
||||
{
|
||||
"$ref": "#/components/parameters/sfw"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/parameters/unapproved"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/parameters/limit"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user