Skip to content

Commit

Permalink
fix: change roleId and roleName into role_id and role_name (#448)
Browse files Browse the repository at this point in the history
  • Loading branch information
pggb25 authored Sep 28, 2023
1 parent 52e2902 commit 8cc9a2b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/schemas/OrganizationApiTokenCreateRequest.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
type: object
required:
- name
- roleId
- role_id
properties:
name:
type: string
description:
type: string
scope:
$ref: './enums/OrganizationApiTokenScope.yaml'
roleId:
role_id:
type: string
format: uuid
nullable: true
Expand Down
4 changes: 2 additions & 2 deletions src/schemas/OrganizationApiTokenCreateResponse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ allOf:
token:
type: string
description: the generated token to send in 'Authorization' header prefixed by 'Token '
roleName:
role_name:
type: string
roleId:
role_id:
type: string
format: uuid
4 changes: 2 additions & 2 deletions src/schemas/OrganizationApiTokenResponse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ allOf:
type: string
description:
type: string
roleName:
role_name:
type: string
roleId:
role_id:
type: string
format: uuid

0 comments on commit 8cc9a2b

Please sign in to comment.