This commit is contained in:
David Bomba 2019-10-06 23:18:22 +11:00
parent 65757f4b71
commit febe32b7d8
3 changed files with 5 additions and 10 deletions

View File

@ -139,14 +139,10 @@ class LoginController extends BaseController
* @OA\Header(header="X-RateLimit-Remaining", ref="#/components/headers/X-RateLimit-Remaining"), * @OA\Header(header="X-RateLimit-Remaining", ref="#/components/headers/X-RateLimit-Remaining"),
* @OA\Header(header="X-RateLimit-Limit", ref="#/components/headers/X-RateLimit-Limit"), * @OA\Header(header="X-RateLimit-Limit", ref="#/components/headers/X-RateLimit-Limit"),
* @OA\JsonContent(ref="#/components/schemas/CompanyUser"), * @OA\JsonContent(ref="#/components/schemas/CompanyUser"),
* ),
* ), * ),
* @OA\Response( * @OA\Response(
* response=422, * response=422,
* description="Validation error", * description="Validation error",
* @OA\Header(header="X-API-TOKEN", ref="#/components/headers/X-API-TOKEN"),
* @OA\Header(header="X-RateLimit-Remaining", ref="#/components/headers/X-RateLimit-Remaining"),
* @OA\Header(header="X-RateLimit-Limit", ref="#/components/headers/X-RateLimit-Limit"),
* @OA\JsonContent(ref="#/components/schemas/ValidationError"), * @OA\JsonContent(ref="#/components/schemas/ValidationError"),
* ), * ),

View File

@ -10,11 +10,10 @@
* @OA\Property( * @OA\Property(
* property="value", * property="value",
* type="array", * type="array",
* @OA\Items( * @OA\Items(
* type="string", * type="string",
* ), * ),
* * ),
* ), * ),
* ),
* ) * )
*/ */