Skip to content

Commit

Permalink
fix version regex in openapi spec
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Valdron <[email protected]>
  • Loading branch information
michael-valdron committed Mar 21, 2024
1 parent 7b345b7 commit 1879759
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 54 deletions.
4 changes: 2 additions & 2 deletions index/server/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -928,12 +928,12 @@ components:
Version:
description: Devfile registry entry version number
type: string
pattern: '^[0-9]+\.[0-9]+\.[0-9]+$'
pattern: '^[0-9]+\.[0-9]+(\.[0-9]+)?$'
example: 1.4.0
SchemaVersion:
description: Devfile schema version number
type: string
pattern: '^[0-9]+\.[0-9]+\.[0-9]+(\-alpha)?$'
pattern: '^[0-9]+\.[0-9]+(\.[0-9]+(\-alpha)?)?$'
example: 2.2.0, 2.2.3-alpha
Default:
description: Flag for default devfile registry entry version
Expand Down
104 changes: 52 additions & 52 deletions index/server/pkg/server/endpoint.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1879759

Please sign in to comment.