Skip to content

Commit

Permalink
add missing schema version range filters to devfile endpoints
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 26, 2024
1 parent 48abf2f commit d0ca430
Show file tree
Hide file tree
Showing 5 changed files with 222 additions and 83 deletions.
8 changes: 8 additions & 0 deletions index/server/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,8 @@ paths:
type: string
x-go-name: Stack
x-go-name: Stack
- $ref: '#/components/parameters/minSchemaVersionParam'
- $ref: '#/components/parameters/maxSchemaVersionParam'
requestBody:
description: The request body must be empty.
content: {}
Expand Down Expand Up @@ -483,6 +485,8 @@ paths:
type: string
x-go-name: Version
x-go-name: Version
- $ref: '#/components/parameters/minSchemaVersionParam'
- $ref: '#/components/parameters/maxSchemaVersionParam'
requestBody:
description: The request body must be empty.
content: {}
Expand Down Expand Up @@ -583,6 +587,8 @@ paths:
type: string
x-go-name: StarterProject
x-go-name: StarterProject
- $ref: '#/components/parameters/minSchemaVersionParam'
- $ref: '#/components/parameters/maxSchemaVersionParam'
responses:
'200':
$ref: '#/components/responses/starterProjectResponse'
Expand Down Expand Up @@ -690,6 +696,8 @@ paths:
type: string
x-go-name: StarterProject
x-go-name: StarterProject
- $ref: '#/components/parameters/minSchemaVersionParam'
- $ref: '#/components/parameters/maxSchemaVersionParam'
responses:
'200':
$ref: '#/components/responses/starterProjectResponse'
Expand Down
204 changes: 140 additions & 64 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.

Loading

0 comments on commit d0ca430

Please sign in to comment.