mirror of
https://github.com/LukeHagar/api-specs.git
synced 2025-12-06 12:27:48 +00:00
fix linting issues v2
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
post:
|
post:
|
||||||
summary: Create a permission
|
summary: Create a permission
|
||||||
description: This endpoint can create permissions for Lifecycle, Consolidation, and Collaboration
|
description: This endpoint can create permissions for Lifecycle, Consolidation, and Collaboration
|
||||||
operationId: postPermission
|
operationId: createPermission
|
||||||
tags:
|
tags:
|
||||||
- permissions
|
- permissions
|
||||||
requestBody:
|
requestBody:
|
||||||
|
|||||||
@@ -13,10 +13,12 @@ properties:
|
|||||||
example: ef5d413f-ba18-49e6-9a72-bb115aa133ff
|
example: ef5d413f-ba18-49e6-9a72-bb115aa133ff
|
||||||
value:
|
value:
|
||||||
type: integer
|
type: integer
|
||||||
|
format: int32
|
||||||
example: 1
|
example: 1
|
||||||
description: The permissions level of access
|
description: The permissions level of access
|
||||||
subject:
|
subject:
|
||||||
type: integer
|
type: integer
|
||||||
|
format: int32
|
||||||
example: 1
|
example: 1
|
||||||
description: The type of permission
|
description: The type of permission
|
||||||
subject_id:
|
subject_id:
|
||||||
|
|||||||
@@ -12,11 +12,13 @@ properties:
|
|||||||
description: The ID of the object that the permission is giving access to
|
description: The ID of the object that the permission is giving access to
|
||||||
value:
|
value:
|
||||||
type: integer
|
type: integer
|
||||||
|
format: int32
|
||||||
enum: [1, 2, 3, 4, 5, 6, 7]
|
enum: [1, 2, 3, 4, 5, 6, 7]
|
||||||
example: 1
|
example: 1
|
||||||
description: The permissions level of access
|
description: The permissions level of access
|
||||||
subject:
|
subject:
|
||||||
type: integer
|
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]
|
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
|
example: 0
|
||||||
description: The type of permission
|
description: The type of permission
|
||||||
|
|||||||
Reference in New Issue
Block a user