Commit 49476567 authored by Jacob Priddy's avatar Jacob Priddy 👌

upgrade to scribe 2

parent 9dfd92f5
......@@ -11,6 +11,8 @@ use Knuckles\Scribe\Extracting\Strategies\Strategy;
class ApplicationRepositoryResetStrategy extends Strategy
{
public $stage = 'responses';
public function __construct(DocumentationConfig $config)
{
// Set the config to use in memory implementations
......
......@@ -10,6 +10,8 @@ use Knuckles\Scribe\Extracting\Strategies\Strategy;
class BodyAuthenticationStrategy extends Strategy
{
public $stage = 'bodyParameters';
/**
* @inheritDoc
*/
......
......@@ -10,6 +10,8 @@ use Knuckles\Scribe\Extracting\Strategies\Strategy;
class GetAuthenticationStrategy extends Strategy
{
public $stage = 'queryParameters';
/**
* @inheritDoc
*/
......
......@@ -11,6 +11,8 @@ use Knuckles\Scribe\Extracting\Strategies\Strategy;
class GoodResponseValidationStrategy extends Strategy
{
public $stage = 'responses';
protected const EXCLUDED = [
'logout',
'saml.login',
......
......@@ -10,6 +10,8 @@ use Knuckles\Scribe\Extracting\Strategies\Strategy;
class PaginationStrategy extends Strategy
{
public $stage = 'queryParameters';
/**
* @inheritDoc
*/
......
......@@ -10,6 +10,8 @@ use Knuckles\Scribe\Extracting\Strategies\Strategy;
class UnauthenticatedResponseStrategy extends Strategy
{
public $stage = 'responses';
/**
* @inheritDoc
*/
......
......@@ -22,7 +22,6 @@ class AttemptsController extends ApiController
* is supplied, all attempts before the start date are given. If both dates are supplied,
* all attempts between the given dates are returned. This route is paginated.
*
* @authenticated
* @paginated
* @queryParam start The beginning date to filter attempts by. Example: 2000-06-02 08:11:45
* @queryParam end The ending date to filter attempts by. Example: 2920-06-02 08:11:45
......
......@@ -40,6 +40,8 @@ class AuthController extends ApiController
*
* This endpoint requires no auth and is the welcome page for any API user.
*
* @unauthenticated
*
* @return \Illuminate\Http\JsonResponse
*/
public function welcome(): JsonResponse
......@@ -53,6 +55,7 @@ class AuthController extends ApiController
* This endpoint returns a token that can be used in other endpoints as well as setting a cookie.
* One does not need to make a request to this if they have a valid token.
*
* @unauthenticated
* @bodyParam email string required The email of the login user. Example: sithL0rd@senate.com
* @bodyParam password string required The password of the user to login as. Example: I am the senate
*
......@@ -89,6 +92,7 @@ class AuthController extends ApiController
*
* This route redirects the user to the running SAML authentication instance to start authentication with SAML
*
* @unauthenticated
* @urlParam intended The url to redirect back to once authentication is successful.
*
* @param \Illuminate\Routing\Redirector $redirector
......@@ -109,6 +113,8 @@ class AuthController extends ApiController
*
* This API is only meant to be used by SAML after a return from a login.
*
* @unauthenticated
*
* @param AuthenticateUseCase $authenticateUseCase
* @return mixed
* @throws EntityNotFoundException
......@@ -142,6 +148,8 @@ class AuthController extends ApiController
*
* This endpoint logs out of saml and expires the associated api/login token and cookie.
*
* @unauthenticated
*
* @param AuthenticateUseCase $authenticateUseCase
* @return RedirectResponse
*/
......
......@@ -72,7 +72,6 @@ class DoorController extends ApiController
* Also processes commands that are separated by a '*' from the doorcode. If a command is accepted a 200 is
* returned. If a command is rejected, a 403 is given.
*
* @authenticated
* @bodyParam doorcode string required The doorcode to query. Example: 123456*00110
* @bodyParam foresight int Number of minutes ahead of now to get the open mode times for. Example: 720
*
......@@ -109,7 +108,6 @@ class DoorController extends ApiController
* key press as a valid door unlock. Retrieves the open mode times for the next interval. Includes open mode
* schedules as well as overrides. The door to get the times for is based off of the authenticated door.
*
* @authenticated
* @queryParam foresight Number of minutes ahead of now to get the open mode times for. Example: 720
*
* @response 422
......@@ -129,8 +127,6 @@ class DoorController extends ApiController
* This route returns the newest binary that the door controllers should be running based upon the authenticated
* door. If there are no binaries on record, a 404 response is returned.
*
* @authenticated
*
* @response 404 {"status":"error","code":404,"message":"Entity not found"}
*
* @param \Source\UseCases\Door\UpdateBinary\UpdateBinaryUseCase $updateBinaryUseCase
......
......@@ -36,7 +36,6 @@ class DoorsController extends ApiController
* This endpoint can list/search/query the list of doors. If the parameter is not given, it returns all doors
* paginated. If either awol_seconds or active_seconds are negative, they will be ignored.
*
* @authenticated
* @paginated
* @queryParam query Searches doors for location, name, and version. Example: bat
* @queryParam awol_seconds Filters doors that have been missing for x seconds. Example: -1
......@@ -70,8 +69,6 @@ class DoorsController extends ApiController
*
* This endpoint gets a specific door and returns information relating directly to the door.
*
* @authenticated
*
* @response 404 {"status":"error","code":404,"message":"Entity not found"}
*
* @param \Source\UseCases\Doors\GetDoor\GetDoorUseCase $getDoor
......@@ -96,7 +93,6 @@ class DoorsController extends ApiController
*
* This endpoint creates a new door in the system.
*
* @authenticated
* @bodyParam location string required Door Number or location describing where it is such as `CSP165`. Example: CSP165
* @bodyParam name string required The unique name for the door. Must be unique. Example: Engineering Lecture Hall
*
......@@ -128,7 +124,6 @@ class DoorsController extends ApiController
*
* This route updates a door in the system. It does not modify the associated door token.
*
* @authenticated
* @urlParam doorId required The application ID of the door to update. Example: 2
* @bodyParam location string Door Number or location describing where it is such as `CSP165`. Example: CSP166
* @bodyParam name string The unique name for the door. Must be unique. Example: Not the Engineering Lecture Hall
......@@ -165,7 +160,6 @@ class DoorsController extends ApiController
* generated. If for some reason it gets lost, or compromised, this endpoint can be used to regenerate the
* associated door token.
*
* @authenticated
* @urlParam doorId required The application ID of the door to update. Example: 2
*
* @param \Source\UseCases\Doors\GenerateDoorToken\GenerateDoorTokenUseCase $tokenGenerator
......@@ -192,7 +186,6 @@ class DoorsController extends ApiController
* This endpoint deletes a door in the system. Once deleted it cannot be recovered and the door
* will no longer be able to make requests.
*
* @authenticated
* @urlParam doorId required The application ID of the door to update. Example: 2
*
* @param \Source\UseCases\Doors\DeleteDoor\DeleteDoorUseCase $doorDelyeeter
......@@ -218,7 +211,6 @@ class DoorsController extends ApiController
* This endpoint gets the list of groups that a door is apart of.
*
* @paginated
* @authenticated
* @urlParam doorId required The door ID to get the groups for. Example: 1
*
* @param \Source\UseCases\DoorGroup\GetDoorGroups\GetDoorGroupsUseCase $doorGroups
......@@ -243,7 +235,6 @@ class DoorsController extends ApiController
*
* This endpoint attaches a list of doors to a list of groups by ids.
*
* @authenticated
* @bodyParam door_ids[0] string[] required The list of door Ids to attach to. Example: 2
* @bodyParam door_ids[1] string[] required The list of door Ids to attach to. Example: 1
* @bodyParam group_ids[0] string[] required The list of group Ids to attach to. Example: 8
......@@ -280,7 +271,6 @@ class DoorsController extends ApiController
*
* This endpoint removes a list of doors from a list of groups by ids.
*
* @authenticated
* @bodyParam door_ids[0] string[] required The list of door Ids to attach to. Example: 2
* @bodyParam door_ids[1] string[] required The list of door Ids to attach to. Example: 1
* @bodyParam group_ids[0] string[] required The list of group Ids to attach to. Example: 8
......
......@@ -21,7 +21,6 @@ class EntriesController extends ApiController
* Filters door entries based upon several query parameters. If no parameters are given, all door entries are
* returned in a paginated fashion.
*
* @authenticated
* @paginated
* @queryParam start The beginning date to filter entries by. Example: 2000-06-02 08:11:45
* @queryParam end The ending date to filter entries by. Example: 2920-06-02 08:11:45
......
......@@ -26,7 +26,6 @@ class GroupScheduleController extends ApiController
*
* Attaches groups to schedules.
*
* @authenticated
* @bodyParam schedules[0] string[] required The list of schedule Ids to attach to. Example: 1
* @bodyParam schedules[1] string[] required The list of schedule Ids to attach to. Example: 2
* @bodyParam groups[0] string[] required The list of group Ids to attach to. Example: 7
......@@ -65,7 +64,6 @@ class GroupScheduleController extends ApiController
*
* This endpoint returns all groups that a specified schedule is attached to.
*
* @authenticated
* @paginated
* @urlParam scheduleId required The id of the schedule to get the groups for. Example: 1
*
......@@ -89,7 +87,6 @@ class GroupScheduleController extends ApiController
*
* This endpoint returns all schedules that a specified group is attached to.
*
* @authenticated
* @paginated
* @urlParam groupId required The id of the group to get the schedules for. Example: 7
*
......@@ -113,7 +110,6 @@ class GroupScheduleController extends ApiController
*
* Detaches groups from schedules.
*
* @authenticated
* @bodyParam schedules[0] string[] required The list of schedule Ids to attach to. Example: 1
* @bodyParam schedules[1] string[] required The list of schedule Ids to attach to. Example: 2
* @bodyParam groups[0] string[] required The list of group Ids to attach to. Example: 7
......
......@@ -35,7 +35,6 @@ class GroupsController extends ApiController
*
* Adds a new group to the system.
*
* @authenticated
* @bodyParam title string required The title of the group. Must be unique.
* @bodyParam description string The group description for management.
*
......@@ -67,7 +66,6 @@ class GroupsController extends ApiController
*
* This endpoint removes a group from the system.
*
* @authenticated
* @urlParam groupId required The id of the group to delete. Example: 7
*
* @response 400 {"status":"error","code":400,"message":"Cannot delete a default permission group"}
......@@ -100,7 +98,6 @@ class GroupsController extends ApiController
*
* This endpoint searches groups. If no parameters are given a paginated list of all groups is returned.
*
* @authenticated
* @paginated
* @queryParam query This parameter filters groups on title and description. Example: manage
*
......@@ -130,7 +127,6 @@ class GroupsController extends ApiController
*
* This endpoint gets a groups.
*
* @authenticated
* @urlParam groupId required The ID of the group to get all information from. Example: 1
*
* @response 404 {"status":"error","code":404,"message":"Entity not found"}
......@@ -158,7 +154,6 @@ class GroupsController extends ApiController
* This route updates a group stored in the system. Title's must be unique. Default permission group's titles cannot
* be modified.
*
* @authenticated
* @bodyParam title string required The new title of the group.
* @bodyParam description string required The new group description.
*
......@@ -196,7 +191,6 @@ class GroupsController extends ApiController
*
* This endpoint gets all users attached to a specific group.
*
* @authenticated
* @paginated
* @urlParam groupId required The group to get users for. Example: 1
*
......@@ -222,7 +216,6 @@ class GroupsController extends ApiController
*
* This endpoint gets all doors attached to a specific group.
*
* @authenticated
* @paginated
* @urlParam groupId required The group to get attached doors for. Example: 8
*
......@@ -248,7 +241,6 @@ class GroupsController extends ApiController
*
* This endpoint retrieves the resulting schedules for a group.
*
* @authenticated
* @urlParam groupId required The group to view events for. Example: 1
* @queryParam start required The start date to view events for. Example: 2020-04-03 12:43:22
* @queryParam end required The end date to see events for. Example: 2020-04-05 12:43:22
......
......@@ -36,8 +36,6 @@ class MeController extends ApiController
*
* Retrieves the currently logged in user object.
*
* @authenticated
*
* @param \Source\UseCases\Users\GetUser\GetUserUseCase $useCase
* @return \Illuminate\Http\JsonResponse
* @throws \Source\Exceptions\EntityNotFoundException
......@@ -56,7 +54,6 @@ class MeController extends ApiController
*
* Retrieve all of the groups the current user is apart of. This route is paginated.
*
* @authenticated
* @paginated
*
* @param \Source\UseCases\GroupUser\GetUserGroups\GetUserGroupsUseCase $useCase
......@@ -77,7 +74,6 @@ class MeController extends ApiController
*
* Update the currently logged in user. Automatically prepends emplid (if there is one) to the user
*
* @authenticated
* @bodyParam display_name string The user's display name. Example: Sheev Palpatine
* @bodyParam password string The user's new password. Minimum of 20 characters. Example: My Super Secret P455w0rd
* @bodyParam doorcode string The user's new doorcode, minimum of 11 digits. Example: 292889311069
......@@ -113,7 +109,6 @@ class MeController extends ApiController
*
* Get's the token metadata assigned to the current user.
*
* @authenticated
* @paginated
*
* @param \Source\UseCases\Tokens\GetTokens\GetTokensUseCase $userTokens
......@@ -134,7 +129,6 @@ class MeController extends ApiController
*
* Retrieves the list of permission groups a user is in.
*
* @authenticated
* @response {"permissions":["admin","manage-users","manage-doors","manage-groups","code-query","current-user","logs-read","door-commander"],"status":"success","code":200}
*
* @return \Illuminate\Http\JsonResponse
......@@ -149,8 +143,6 @@ class MeController extends ApiController
*
* Gets a list of the accessible doors, groups, and schedules that the current user has access to.
*
* @authenticated
*
* @param \Source\UseCases\DoorUser\UserDoorAccess\UserDoorAccessUseCase $userDoorAccessUseCase
* @return \Illuminate\Http\JsonResponse
* @throws \Source\Exceptions\EntityNotFoundException
......@@ -170,7 +162,6 @@ class MeController extends ApiController
* This endpoint shows all door events for the current user. These events include user access schedules,
* overrides, and special exclusion rules.
*
* @authenticated
* @queryParam door_id required The door to see events for. Example: 1
* @queryParam start required The start date to view events for. Example: 2020-04-03 12:43:22
* @queryParam end required The end date to see events for. Example: 2020-04-05 12:43:22
......@@ -207,7 +198,6 @@ class MeController extends ApiController
*
* This endpoint creates a access request for admins to review and accept/deny.
*
* @authenticated
* @bodyParam title required string Short description of the access request, maybe the door you want access to. Example: CSP313
* @bodyParam request required string The full request text. Example: Please give me access to everything now.
*
......@@ -237,7 +227,6 @@ class MeController extends ApiController
*
* This endpoint retrieves all of your submitted access requests.
*
* @authenticated
* @paginated
* @queryParam query The query to search for. Example: CSP313
* @queryParam resolved Whether the request is marked as resolved or not. Example: 0
......@@ -270,7 +259,6 @@ class MeController extends ApiController
*
* Deletes a request. You cannot delete a resolved request.
*
* @authenticated
* @urlParam requestId required The id of the request to delete. Example: 3
*
* @param string $requestId
......@@ -293,7 +281,6 @@ class MeController extends ApiController
*
* Updates a request. You cannot update a request that is not yours, or that is resolved.
*
* @authenticated
* @urlParam requestId required The id of the request to modify. Example: 3
* @bodyParam title string The new request title. Example: New title request.
* @bodyParam request string The new body of the request. Example: Fixed type.
......
......@@ -29,7 +29,6 @@ class OverridesController extends ApiController
* This endpoint creates an override for a door. Overrides have 2 types.
* A type of 0 means open mode, and a type of 1 means to keep it locked (overrides any access schedules).
*
* @authenticated
* @bodyParam reason string required Documentation field for why the override was created. Example: Demonstration
* @bodyParam door_id int required The door to apply the override to. Example: 1
* @bodyParam type int required The type of override. Example: 0
......@@ -71,7 +70,6 @@ class OverridesController extends ApiController
*
* This endpoint updates an existing override. It cannot update the override type or the applied door.
*
* @authenticated
* @urlParam overrideId required The ID of the override to update. Example: 2
* @bodyParam reason string Documentation field for why the override was created. Example: Demonstration updated
* @bodyParam start datetime The start date/time for the override. Example: 2020-06-04 13:35:50
......@@ -114,7 +112,6 @@ class OverridesController extends ApiController
*
* This endpoint gets a specific override.
*
* @authenticated
* @urlParam overrideId required The ID of the override to update. Example: 2
*
* @param string $overrideId
......@@ -140,7 +137,6 @@ class OverridesController extends ApiController
*
* This endpoint searches/filters overrides.
*
* @authenticated
* @paginated
* @queryParam start The start time to start filtering overrides. Example: 1900-06-04
* @queryParam end The end time to stop filtering overrides. Example: 2900-06-04 12:43:33
......
......@@ -21,7 +21,6 @@ class RequestsController extends ApiController
*
* This endpoint marks or un-marks an access request as resolved.
*
* @authenticated
* @urlParam requestId required The id of the request to modify. Example 1
* @bodyParam resolved string Whether the access request should be resolved or not. Example: 0
*
......@@ -49,7 +48,6 @@ class RequestsController extends ApiController
*
* This endpoint replies to a submitted user access request. They can log on and view your submitted reply
*
* @authenticated
* @urlParam requestId required The id of the request to modify. Example 1
* @bodyParam reply string The reply to give to the user. Example: I have rejected your request because you're not good enough
*
......@@ -77,7 +75,6 @@ class RequestsController extends ApiController
*
* This endpoint filters and retrieves submitted access requets.
*
* @authenticated
* @paginated
* @queryParam query The query to search for. Example: CSP313
* @queryParam resolved Whether the request is marked as resolved or not. Example: 0
......
......@@ -38,7 +38,6 @@ class SchedulesController extends ApiController
* See: https://github.com/rlanvin/php-rrule/wiki/RSet
*
*
* @authenticated
* @bodyParam duration integer required The duration in seconds that the event lasts for. Example: 120
* @bodyParam type integer required The type of schedule. Example: 0
* @bodyParam rset string required The RFC 5545 compliant string representing the set. Example: RRULE:FREQ=MINUTELY
......@@ -75,7 +74,6 @@ class SchedulesController extends ApiController
*
* Gets a schedule from the system.
*
* @authenticated
* @urlParam scheduleId required The id of the schedule to retrieve. Example: 1
*
* @param string $scheduleId
......@@ -101,7 +99,6 @@ class SchedulesController extends ApiController
* This endpoint searches/filters schedules in the system by start, end, or type. If no query is provided
* a paginated list of all schedules are returned.
*
* @authenticated
* @paginated
* @queryParam start Filters schedules active after this datetime. Example: 1900-06-04 19:23:55
* @queryParam end Filters schedules active before this datetime. Example: 2900-06-04
......@@ -142,7 +139,6 @@ class SchedulesController extends ApiController
* This endpoint updates a schedule. See the create schedule endpoint description for more information about
* the parameters.
*
* @authenticated
* @urlParam scheduleId required The schedule to update. Example: 1
* @bodyParam duration integer The duration in seconds that the event lasts for. Example: 120
* @bodyParam type integer The type of schedule. Example: 0
......@@ -181,7 +177,6 @@ class SchedulesController extends ApiController
*
* This endpoint deletes the given list of schedules.
*
* @authenticated
* @bodyParam schedules[0] string[] required The list of schedule Ids to delete. Example: 1234
* @bodyParam schedules[1] string[] required The list of schedule Ids to delete. Example: 5432
*
......@@ -219,7 +214,6 @@ class SchedulesController extends ApiController
* only door open events are shown, other wise user access blocks are also shown. These events include
* overrides and special exclusion rules. In other words, this is what the doors actually do.
*
* @authenticated
* @queryParam door_id required The door to see events for. Example: 1
* @queryParam user_id The user to see access schedules for. Example: 2
* @queryParam start required The start date to view events for. Example: 2020-04-03 12:43:22
......@@ -263,7 +257,6 @@ class SchedulesController extends ApiController
*
* This endpoint returns all the events in a schedule for a specified date range.
*
* @authenticated
* @urlParam scheduleId required The schedule to get the events for. Example: 2
* @queryParam start required The start date to view events for. Example: 2020-04-03 12:43:22
* @queryParam end required The end date to see events for. Example: 2020-04-05 12:43:22
......
......@@ -29,7 +29,6 @@ class TokensController extends ApiController
* This route filters all tokens by user_id or valid date. If valid_at is set, only tokens valid on that date will
* be returned.
*
* @authenticated
* @paginated
* @queryParam user_id The user id ot filter on. Example: 1
* @queryParam valid_at The date to filter when tokens are valid: Example: 2020-06-04 19:41:55
......@@ -66,7 +65,6 @@ class TokensController extends ApiController
*
* This endpoint retrieves all metadata about the token.
*
* @authenticated
* @urlParam tokenId required The ID of the token to get information for. Example: 1
*
* @response 404 {"status":"error","code":404,"message":"Entity not found"}
......@@ -93,7 +91,6 @@ class TokensController extends ApiController
*
* This route generates a new token for a given user.
*
* @authenticated
* @bodyParam name string required The name of the token for identifying it. Example: CSLab Self-Serve Token
* @bodyParam user_id string required The id of the user the token will authenticate. Example: 1
* @bodyParam expires_at string The datetime that the token will no longer be usable. Example: 2020-06-04 19:35:05
......@@ -129,7 +126,7 @@ class TokensController extends ApiController
* Update Token
*
* This route updates a stored token. One can only update the name and expiry date.
* @authenticated
*
* @urlParam tokenId required The token id to update. Example: 2
* @bodyParam name string The new name for the token. Example: New token name
* @bodyParam expires_at datetime The new expiry date. Can be null to never expire. Example: 2023-06-04 19:46:40
......@@ -162,7 +159,6 @@ class TokensController extends ApiController
*
* This endpoint will instantly expire the specified token.
*
* @authenticated
* @urlParam tokenId required The id of the token to expire. Example: 2
*
* @param \Source\UseCases\Tokens\ExpireToken\ExpireTokenUseCase $expireToken
......
......@@ -38,7 +38,6 @@ class UsersController extends ApiController
* This endpoint can list/search/query the list of users. If the parameter is not given it returns a paginated list
* of all doors. This endpoint can search first, last, display name, email, and employee id.
*
* @authenticated
* @paginated
* @queryParam query The query to search on. Example: sheev
*
......@@ -68,8 +67,6 @@ class UsersController extends ApiController
*
* This endpoint gets a specific user and returns information relating directly to the user.
*
* @authenticated
*
* @response 404 {"status":"error","code":404,"message":"Entity not found"}
*
* @param \Source\UseCases\Users\GetUser\GetUserUseCase $getUser
......@@ -95,7 +92,6 @@ class UsersController extends ApiController
* This endpoint creates a new user in the system. The user cannot share an email emplid, or doorcode with
* any otheres
*
* @authenticated
* @bodyParam first_name string required The first name of the user. Example: George
* @bodyParam last_name string required The last name of the user. Example: Amalor
* @bodyParam display_name string required The display name of the user. Example: Himie Horghe
......@@ -145,7 +141,6 @@ class UsersController extends ApiController
* This endpoint updates an existing user in the system. The user cannot share an email emplid, or doorcode with
* any others
*
* @authenticated
* @urlParam userId required The id of the user to update. Example: 69
* @bodyParam first_name string The first name of the user. Example: George
* @bodyParam last_name string The last name of the user. Example: Amalor
......@@ -199,7 +194,6 @@ class UsersController extends ApiController
*
* Deletes a user from the database.
*
* @authenticated
* @urlParam userId required The userId to delete. Example: 2
*
* @response 403 {"message":"You cannot modify the admin user."}
......@@ -233,7 +227,6 @@ class UsersController extends ApiController
*
* This route adds a user to a group
*
* @authenticated
* @bodyParam user_ids[0] string[] required The list of user ids to attach. Example: 69
* @bodyParam user_ids[1] string[] required The list of user ids to attach. Example: 420
* @bodyParam group_ids[0] string[] required The list of group Ids to attach to. Example: 4
......@@ -270,7 +263,6 @@ class UsersController extends ApiController
*
* This route removes a user from a group.
*
* @authenticated
* @bodyParam user_ids[0] string[] required The list of user ids to attach. Example: 69
* @bodyParam user_ids[1] string[] required The list of user ids to attach. Example: 420
* @bodyParam group_ids[0] string[] required The list of group Ids to attach to. Example: 4
......@@ -307,7 +299,6 @@ class UsersController extends ApiController
*
* This endpoint gets all groups for a user.
*
* @authenticated
* @paginated
* @urlParam userId required The ID of the user to get. Example: 420
* @response 404 {"status":"error","code":404,"message":"Entity not found"}
......@@ -335,7 +326,6 @@ class UsersController extends ApiController
* This endpoint gets all the doors that a user has access too as well as the access schedules for those doors and
* what groups give these permissions.
*
* @authenticaetd
* @urlParam userId required The ID of the user to get access data for. Example: 420
*
* @param \Source\UseCases\DoorUser\UserDoorAccess\UserDoorAccessUseCase $userDoorAccessUseCase
......
......@@ -22,8 +22,8 @@
"bamarni/composer-bin-plugin": "^1.4",
"facade/ignition": "^2.3.6",
"friendsofphp/php-cs-fixer": "^2.16",
"fzaninotto/faker": "^1.4",
"knuckleswtf/scribe": "^1.0.0",
"fzaninotto/faker": "^1.9.1",
"knuckleswtf/scribe": "^2.0.0",
"mockery/mockery": "^1.0",
"nunomaduro/collision": "^5.0",
"phpunit/phpunit": "^9.5",
......
......@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "40648048d93de8b4017420b8bc7088a0",
"content-hash": "3666a142f01f2b445b656bc9e5646955",