Skip to content

Commit

Permalink
Update regex expression to allow empty route_name_path string
Browse files Browse the repository at this point in the history
  • Loading branch information
deadlycoconuts committed Sep 9, 2022
1 parent cb4b7ef commit 1efe78c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/api/openapi.bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2305,7 +2305,7 @@ components:
$ref: '#/components/schemas/EnsemblerStandardConfig_experiment_mappings'
type: array
route_name_path:
pattern: ^\w+(?:\.\w+)*$
pattern: ^\w*(?:\.\w+)*$
type: string
required:
- experiment_mappings
Expand Down
2 changes: 1 addition & 1 deletion api/api/specs/routers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,7 @@ components:
example: "route-1"
route_name_path:
type: "string"
pattern: '^\w+(?:\.\w+)*$'
pattern: '^\w*(?:\.\w+)*$'

EnsemblerDockerConfig:
description: "ensembler config when ensembler type is docker"
Expand Down

0 comments on commit 1efe78c

Please sign in to comment.