Skip to content

Commit

Permalink
Included ProjectID in the OS service schema (#130)
Browse files Browse the repository at this point in the history
* DE23697-Included ProjectID in OS service object

* [auto generated] Checking in generated offline HTML doc

---------

Co-authored-by: dbozzato81 <[email protected]>
  • Loading branch information
dbozzato81 and dbozzato81 authored Sep 13, 2024
1 parent 77c13cf commit 70bdb68
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 5 deletions.
7 changes: 7 additions & 0 deletions v1/api/swagger/components/schemas/OSServiceImage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,14 @@ allOf:
- FWBaselineID
- UserDefinedSteps
- Classifiers
- ProjectID
properties:
ProjectID:
type: string
format: uuid
description: >-
Unique ID of the project that owns this OS service image.
example: 046b6c7f-0b8a-43b9-b35d-6489e6daee92
Description:
type: string
example: Description of the image
Expand Down
10 changes: 5 additions & 5 deletions v1/html/index.html

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions v1/pkg/client/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7430,6 +7430,11 @@ components:
- Proxy
OSServiceImage_allOf:
properties:
ProjectID:
description: Unique ID of the project that owns this OS service image.
example: 046b6c7f-0b8a-43b9-b35d-6489e6daee92
format: uuid
type: string
Description:
example: Description of the image
type: string
Expand Down Expand Up @@ -7516,6 +7521,7 @@ components:
- NoSwitchLAG
- Origin
- PermittedProjects
- ProjectID
- Timeout
- UserDefinedSteps
- Version
Expand Down
1 change: 1 addition & 0 deletions v1/pkg/client/docs/OsServiceImage.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Name | Type | Description | Notes
**Name** | **string** | Common name for the resource instance. Must be 128 or fewer printable characters |
**Created** | [**time.Time**](time.Time.md) | Time when the resource was created in the database |
**Modified** | [**time.Time**](time.Time.md) | Time when the resource was last modified in the database |
**ProjectID** | **string** | Unique ID of the project that owns this OS service image. |
**Description** | **string** | |
**Category** | **string** | A high level classification of the service. |
**Flavor** | **string** | An high level description of the OS image type. |
Expand Down
1 change: 1 addition & 0 deletions v1/pkg/client/docs/OsServiceImageAllOf.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ProjectID** | **string** | Unique ID of the project that owns this OS service image. |
**Description** | **string** | |
**Category** | **string** | A high level classification of the service. |
**Flavor** | **string** | An high level description of the OS image type. |
Expand Down
2 changes: 2 additions & 0 deletions v1/pkg/client/model_os_service_image.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ type OsServiceImage struct {
Created time.Time `json:"Created"`
// Time when the resource was last modified in the database
Modified time.Time `json:"Modified"`
// Unique ID of the project that owns this OS service image.
ProjectID string `json:"ProjectID"`
Description string `json:"Description"`
// A high level classification of the service.
Category string `json:"Category"`
Expand Down
2 changes: 2 additions & 0 deletions v1/pkg/client/model_os_service_image_all_of.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
package client
// OsServiceImageAllOf struct for OsServiceImageAllOf
type OsServiceImageAllOf struct {
// Unique ID of the project that owns this OS service image.
ProjectID string `json:"ProjectID"`
Description string `json:"Description"`
// A high level classification of the service.
Category string `json:"Category"`
Expand Down

0 comments on commit 70bdb68

Please sign in to comment.