Skip to content

Commit

Permalink
Merge pull request kubev2v#79 from machacekondra/head-req-image
Browse files Browse the repository at this point in the history
Add HEAD request to /image ednpoint
  • Loading branch information
tupyy authored Nov 22, 2024
2 parents 17355b3 + 8e74588 commit ebba4c7
Show file tree
Hide file tree
Showing 6 changed files with 306 additions and 32 deletions.
25 changes: 25 additions & 0 deletions api/v1alpha1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,31 @@ paths:
schema:
$ref: '#/components/schemas/Error'
/api/v1/sources/{id}/image:
head:
tags:
- source
- image
description: head the OVA file for the source
operationId: headSourceImage
parameters:
- name: id
in: path
description: ID of the source
required: true
schema:
type: string
format: uuid
responses:
"200":
description: An OVA image
"400":
description: Bad Request
"401":
description: Unauthorized
"404":
description: NotFound
"500":
description: Internal Server Error
get:
tags:
- source
Expand Down
59 changes: 30 additions & 29 deletions api/v1alpha1/spec.gen.go

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

98 changes: 98 additions & 0 deletions internal/api/client/client.gen.go

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

Loading

0 comments on commit ebba4c7

Please sign in to comment.