Skip to content

Commit

Permalink
fix(nodejs): role id pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
takoring committed Feb 12, 2025
1 parent 33cafd6 commit eda129b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion example/nodejs/src/config/local.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ export const get = (mode: Mode): Config => {
'https://localhost:8000',
'https://viron.work',
'https://snapshot.viron.work',
'https://viron.work:8000',
],
ignorePaths: [
'/ping',
Expand Down
4 changes: 2 additions & 2 deletions packages/nodejs/src/openapi/adminroles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ components:
id:
description: ロールID
type: string
pattern: '^[^,''"]*$'
pattern: '^[a-zA-Z0-9_-]+$'
permissions:
description: 権限
type: array
Expand Down Expand Up @@ -166,7 +166,7 @@ components:
id:
description: ロールID
type: string
pattern: '^[^,''"]*$'
pattern: '^[a-zA-Z0-9_-]+$'
permissions:
description: 権限
type: array
Expand Down
4 changes: 2 additions & 2 deletions packages/nodejs/src/openapi/adminusers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ components:
type: array
items:
type: string
pattern: '^[^,''"]*$'
pattern: '^[a-zA-Z0-9_-]+$'
required:
- email
- password
Expand All @@ -180,4 +180,4 @@ components:
type: array
items:
type: string
pattern: '^[^,''"]*$'
pattern: '^[a-zA-Z0-9_-]+$'

0 comments on commit eda129b

Please sign in to comment.