diff --git a/src/Http/Controllers/Api/v2/RoleController.php b/src/Http/Controllers/Api/v2/RoleController.php index d999a84..602166e 100644 --- a/src/Http/Controllers/Api/v2/RoleController.php +++ b/src/Http/Controllers/Api/v2/RoleController.php @@ -278,12 +278,12 @@ public function getDetail($role_id) * {"ApiKeyAuth": {}} * }, * @SWG\Parameter( - * type="object", * name="body", * in="body", * required=true, * @SWG\Schema( * required={"title"}, + * type="object", * @SWG\Property( * type="string", * property="title", @@ -365,11 +365,12 @@ public function postNew(Request $request) * in="path" * ), * @SWG\Parameter( - * type="object", * name="body", * in="body", + * required=true, * @SWG\Schema( * required={"title"}, + * type="object", * @SWG\Property( * type="string", * property="title", @@ -430,12 +431,12 @@ public function putRename(RenameRole $request, $role_id) * {"ApiKeyAuth": {}} * }, * @SWG\Parameter( - * type="object", * name="body", * in="body", * required=true, * @SWG\Schema( * required={"role_id", "character_id"}, + * type="object", * @SWG\Property( * type="integer", * minimum=1, @@ -492,12 +493,12 @@ public function postAddCharacterAffiliation(Request $request) * {"ApiKeyAuth": {}} * }, * @SWG\Parameter( - * type="object", * name="body", * in="body", * required=true, * @SWG\Schema( * required={"role_id", "corporation_id"}, + * type="object", * @SWG\Property( * type="integer", * minimum=1, @@ -587,11 +588,12 @@ public function deleteRole($role_id) * {"ApiKeyAuth": {}} * }, * @SWG\Parameter( - * type="object", * name="body", * in="body", + * required=true, * @SWG\Schema( * required={"group_id", "role_id"}, + * type="object", * @SWG\Property( * type="integer", * minimum=1, diff --git a/src/Http/Controllers/Api/v2/UserController.php b/src/Http/Controllers/Api/v2/UserController.php index 68ef653..f660ba5 100644 --- a/src/Http/Controllers/Api/v2/UserController.php +++ b/src/Http/Controllers/Api/v2/UserController.php @@ -273,12 +273,12 @@ public function getConfiguredScopes() * {"ApiKeyAuth": {}} * }, * @SWG\Parameter( - * type="object", * name="body", * in="body", * required=true, * @SWG\Schema( * required={"user_id", "name", "character_owner_hash", "refresh_token", "scopes"}, + * type="object", * @SWG\Property( * type="integer", * format="int64",