From 12ae16530db137ff9bc0abc1d7ac3fe6a2715d29 Mon Sep 17 00:00:00 2001 From: corey-votta-sp Date: Wed, 23 Aug 2023 16:12:26 -0400 Subject: [PATCH] fix linting issues v2 --- nerm/paths/permissions.yaml | 2 +- nerm/schemas/GET/Permission.yaml | 2 ++ nerm/schemas/POST/Permission.yaml | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/nerm/paths/permissions.yaml b/nerm/paths/permissions.yaml index e44fcb5..13ce56b 100644 --- a/nerm/paths/permissions.yaml +++ b/nerm/paths/permissions.yaml @@ -1,7 +1,7 @@ post: summary: Create a permission description: This endpoint can create permissions for Lifecycle, Consolidation, and Collaboration - operationId: postPermission + operationId: createPermission tags: - permissions requestBody: diff --git a/nerm/schemas/GET/Permission.yaml b/nerm/schemas/GET/Permission.yaml index 7fb8ca5..f20d608 100644 --- a/nerm/schemas/GET/Permission.yaml +++ b/nerm/schemas/GET/Permission.yaml @@ -13,10 +13,12 @@ properties: example: ef5d413f-ba18-49e6-9a72-bb115aa133ff value: type: integer + format: int32 example: 1 description: The permissions level of access subject: type: integer + format: int32 example: 1 description: The type of permission subject_id: diff --git a/nerm/schemas/POST/Permission.yaml b/nerm/schemas/POST/Permission.yaml index ffa8274..5bd7e5d 100644 --- a/nerm/schemas/POST/Permission.yaml +++ b/nerm/schemas/POST/Permission.yaml @@ -12,11 +12,13 @@ properties: description: The ID of the object that the permission is giving access to value: type: integer + format: int32 enum: [1, 2, 3, 4, 5, 6, 7] example: 1 description: The permissions level of access subject: type: integer + format: int32 enum: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23] example: 0 description: The type of permission