Skip to content

Commit

Permalink
Fixed data type for FileSize (#124)
Browse files Browse the repository at this point in the history
* DE22771-Fixed data type for FileSize

* [auto generated] Checking in generated offline HTML doc

---------

Co-authored-by: dbozzato81 <[email protected]>
  • Loading branch information
dbozzato81 and dbozzato81 authored Jul 15, 2024
1 parent d7ee35d commit 3f680c6
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions v1/api/swagger/components/schemas/FileInfo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ properties:
example: image.tgz
FileSize:
type: integer
format: int64
description: >-
Size of the files in bytes.
example: 934960345
Expand Down
2 changes: 1 addition & 1 deletion v1/html/index.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions v1/pkg/client/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5866,6 +5866,7 @@ components:
FileSize:
description: Size of the files in bytes.
example: 934960345
format: int64
type: integer
DownloadTimeout:
description: Maximum amount of time in seconds to download the Service image.
Expand Down
2 changes: 1 addition & 1 deletion v1/pkg/client/docs/FileInfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ID** | **string** | Unique ID of this FileInfo. |
**Path** | **string** | Depending upon the service approach, this is either the mount-path where the file should be placed or the relative URL where it should be served. |
**FileSize** | **int32** | Size of the files in bytes. |
**FileSize** | **int64** | Size of the files in bytes. |
**DownloadTimeout** | **int64** | Maximum amount of time in seconds to download the Service image. |
**Signature** | **string** | The signature (checksum) of the image to download. This ensure the integrity and authenticity of the images downloaded. |
**Algorithm** | [**Algorithm**](Algorithm.md) | |
Expand Down
2 changes: 1 addition & 1 deletion v1/pkg/client/model_file_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type FileInfo struct {
// Depending upon the service approach, this is either the mount-path where the file should be placed or the relative URL where it should be served.
Path string `json:"Path"`
// Size of the files in bytes.
FileSize int32 `json:"FileSize"`
FileSize int64 `json:"FileSize"`
// Maximum amount of time in seconds to download the Service image.
DownloadTimeout int64 `json:"DownloadTimeout"`
// The signature (checksum) of the image to download. This ensure the integrity and authenticity of the images downloaded.
Expand Down

0 comments on commit 3f680c6

Please sign in to comment.