Skip to content

Commit

Permalink
TA86509 - OpenApi spec changes to add ReplicationEnabled to Project (#…
Browse files Browse the repository at this point in the history
…112)

* initial code

* [auto generated] Checking in generated offline HTML doc

* review comment

* [auto generated] Checking in generated offline HTML doc

* more comments

* [auto generated] Checking in generated offline HTML doc

* update description

* [auto generated] Checking in generated offline HTML doc

---------

Co-authored-by: patricia-dibenedetto <[email protected]>
  • Loading branch information
patricia-dibenedetto and patricia-dibenedetto authored Apr 24, 2024
1 parent fdd9ec3 commit 86df940
Show file tree
Hide file tree
Showing 10 changed files with 31 additions and 6 deletions.
3 changes: 3 additions & 0 deletions v1/api/swagger/components/schemas/NewProject.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,6 @@ properties:
example:
- 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- 91eec8b5-6460-4532-aad1-47b983edb63c
VolumeReplicationEnabled:
type: boolean
description: Indicates whether volume replication is enabled for this Project.
4 changes: 4 additions & 0 deletions v1/api/swagger/components/schemas/Project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ allOf:
- Resources
- PermittedSites
- PermittedOSImages
- VolumeReplicationEnabled
properties:
Profile:
description: Profile is a generalized description of a team.
Expand Down Expand Up @@ -37,3 +38,6 @@ allOf:
example:
- 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- 91eec8b5-6460-4532-aad1-47b983edb63c
VolumeReplicationEnabled:
type: boolean
description: Indicates whether volume replication is enabled for this Project.
13 changes: 7 additions & 6 deletions v1/html/index.html

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions v1/pkg/client/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2655,6 +2655,7 @@ components:
PermittedSites:
- 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- 91eec8b5-6460-4532-aad1-47b983edb63c
VolumeReplicationEnabled: true
Profile:
TeamDesc: TeamDesc
EmailVerified: true
Expand Down Expand Up @@ -2694,6 +2695,9 @@ components:
format: uuid
type: string
type: array
VolumeReplicationEnabled:
description: Indicates whether volume replication is enabled for this Project.
type: boolean
required:
- Limits
- Name
Expand Down Expand Up @@ -6036,12 +6040,16 @@ components:
format: uuid
type: string
type: array
VolumeReplicationEnabled:
description: Indicates whether volume replication is enabled for this Project.
type: boolean
required:
- Limits
- PermittedOSImages
- PermittedSites
- Profile
- Resources
- VolumeReplicationEnabled
UpdateProject_allOf:
properties:
Profile:
Expand Down
1 change: 1 addition & 0 deletions v1/pkg/client/docs/NewProject.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Name | Type | Description | Notes
**Limits** | [**Limits**](Limits.md) | |
**PermittedSites** | **[]string** | Array listing the permitted site IDs | [optional]
**PermittedOSImages** | **[]string** | Array listing the permitted OS service images. | [optional]
**VolumeReplicationEnabled** | **bool** | Indicates whether volume replication is enabled for this Project. | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
1 change: 1 addition & 0 deletions v1/pkg/client/docs/Project.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Name | Type | Description | Notes
**Resources** | [**ProjectResources**](ProjectResources.md) | |
**PermittedSites** | **[]string** | Array listing the permitted site IDs |
**PermittedOSImages** | **[]string** | Array listing the permitted OS service images. |
**VolumeReplicationEnabled** | **bool** | Indicates whether volume replication is enabled for this Project. |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
1 change: 1 addition & 0 deletions v1/pkg/client/docs/ProjectAllOf.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Name | Type | Description | Notes
**Resources** | [**ProjectResources**](ProjectResources.md) | |
**PermittedSites** | **[]string** | Array listing the permitted site IDs |
**PermittedOSImages** | **[]string** | Array listing the permitted OS service images. |
**VolumeReplicationEnabled** | **bool** | Indicates whether volume replication is enabled for this Project. |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
2 changes: 2 additions & 0 deletions v1/pkg/client/model_new_project.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@ type NewProject struct {
PermittedSites []string `json:"PermittedSites,omitempty"`
// Array listing the permitted OS service images.
PermittedOSImages []string `json:"PermittedOSImages,omitempty"`
// Indicates whether volume replication is enabled for this Project.
VolumeReplicationEnabled bool `json:"VolumeReplicationEnabled,omitempty"`
}
2 changes: 2 additions & 0 deletions v1/pkg/client/model_project.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,6 @@ type Project struct {
PermittedSites []string `json:"PermittedSites"`
// Array listing the permitted OS service images.
PermittedOSImages []string `json:"PermittedOSImages"`
// Indicates whether volume replication is enabled for this Project.
VolumeReplicationEnabled bool `json:"VolumeReplicationEnabled"`
}
2 changes: 2 additions & 0 deletions v1/pkg/client/model_project_all_of.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@ type ProjectAllOf struct {
PermittedSites []string `json:"PermittedSites"`
// Array listing the permitted OS service images.
PermittedOSImages []string `json:"PermittedOSImages"`
// Indicates whether volume replication is enabled for this Project.
VolumeReplicationEnabled bool `json:"VolumeReplicationEnabled"`
}

0 comments on commit 86df940

Please sign in to comment.