Skip to content

Commit

Permalink
Added name field to Available Images
Browse files Browse the repository at this point in the history
  • Loading branch information
whywake-agarwal committed Sep 11, 2023
1 parent af2bc4d commit ef324a0
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 1 deletion.
7 changes: 6 additions & 1 deletion v1/api/swagger/components/schemas/AvailableImage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ required:
- ID
- Category
- Flavor
- Name
- Version
- Description
properties:
Expand All @@ -23,11 +24,15 @@ properties:
description: >-
Second-level grouping of imaging services. Typically references a
specific OS or application.
Name:
type: string
example: HPE Ubuntu 18.04
description: Name of imaging service.
Version:
type: string
example: '18.04'
description: Specific version of a imaging service flavor.
Description:
type: string
example: ubuntu OS also including Docker runtime
description: Additional image information for additional services added to the OS
description: Additional image information for additional services added to the OS
8 changes: 8 additions & 0 deletions v1/pkg/client/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3169,11 +3169,13 @@ components:
Version: "18.04"
ID: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
Flavor: ubuntu
Name: HPE Ubuntu 18.04
- Category: Linux
Description: ubuntu OS also including Docker runtime
Version: "18.04"
ID: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
Flavor: ubuntu
Name: HPE Ubuntu 18.04
Locations:
- DataCenter: FTC1
PrivateNetworkVNISupport: true
Expand Down Expand Up @@ -4321,6 +4323,7 @@ components:
Version: "18.04"
ID: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
Flavor: ubuntu
Name: HPE Ubuntu 18.04
properties:
ID:
description: Unique ID for imaging service
Expand All @@ -4336,6 +4339,10 @@ components:
a specific OS or application.
example: ubuntu
type: string
Name:
description: Name of imaging service.
example: HPE Ubuntu 18.04
type: string
Version:
description: Specific version of a imaging service flavor.
example: "18.04"
Expand All @@ -4350,6 +4357,7 @@ components:
- Description
- Flavor
- ID
- Name
- Version
type: object
LocationInfo:
Expand Down
1 change: 1 addition & 0 deletions v1/pkg/client/docs/AvailableImage.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Name | Type | Description | Notes
**ID** | **string** | Unique ID for imaging service |
**Category** | **string** | Top-level grouping of imaging services that may reference an OS or application type |
**Flavor** | **string** | Second-level grouping of imaging services. Typically references a specific OS or application. |
**Name** | **string** | Name of imaging service. |
**Version** | **string** | Specific version of a imaging service flavor. |
**Description** | **string** | Additional image information for additional services added to the OS |

Expand Down
2 changes: 2 additions & 0 deletions v1/pkg/client/model_available_image.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ type AvailableImage struct {
Category string `json:"Category"`
// Second-level grouping of imaging services. Typically references a specific OS or application.
Flavor string `json:"Flavor"`
// Name of imaging service.
Name string `json:"Name"`
// Specific version of a imaging service flavor.
Version string `json:"Version"`
// Additional image information for additional services added to the OS
Expand Down

0 comments on commit ef324a0

Please sign in to comment.