Skip to content

Commit

Permalink
Modify swagger yaml regex for job id (#589)
Browse files Browse the repository at this point in the history
  • Loading branch information
rsasch authored Mar 15, 2019
1 parent f54dba4 commit a7bf724
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Job Manager Change Log

## v0.6.1 Release Notes

### Fixed bug where job IDs that started with a number could not be queried for.

### Fixed display bug with error card on job details page.

## v0.6.0 Release Notes

### Applied new look-and-feel
Expand Down
2 changes: 1 addition & 1 deletion api/jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ definitions:
matches to each of these labels.
id:
type: string
pattern: ^[a-zA-Z][a-zA-Z0-9_-]*$
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]+$
description: >
Returns only jobs with the specified id.
name:
Expand Down

0 comments on commit a7bf724

Please sign in to comment.