Skip to content

Commit 00563c4

Browse files
authored
Merge branch 'master' into change-which-field-acts-as-an-identity-for-maintenance-info-object
2 parents a33043d + 6539dcc commit 00563c4

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

openapi.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -619,6 +619,8 @@ components:
619619
type: string
620620
metadata:
621621
$ref: '#/components/schemas/Metadata'
622+
maintenance_info:
623+
$ref: '#/components/schemas/MaintenanceInfo'
622624
free:
623625
type: boolean
624626
default: true
@@ -887,6 +889,16 @@ components:
887889
description: "See [Service Metadata Conventions](https://github.com/openservicebrokerapi/servicebroker/blob/master/profile.md#service-metadata) for more details."
888890
type: object
889891

892+
MaintenanceInfo:
893+
type: object
894+
required:
895+
- version
896+
properties:
897+
version:
898+
type: string
899+
description:
900+
type: string
901+
890902
Object:
891903
type: object
892904

spec.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,8 @@ schema being used.
547547

548548
| Response Field | Type | Description |
549549
| --- | --- | --- |
550-
| version* | string | This MUST be a string conforming to a semantic version. The Platform MAY use this field to determine whether an update is available for a Service Instance. |
550+
| version* | string | This MUST be a string conforming to a semantic version. The Platform MAY use this field to determine whether a maintenance update is available for a Service Instance. |
551+
| description | string | This SHOULD be a string describing the impact of the maintenance update, for example, important version changes, configuration changes, default value changes, etc. The Platform MAY present this information to the user before they trigger the maintenance update. |
551552

552553
\* Fields with an asterisk are REQUIRED.
553554

@@ -646,6 +647,7 @@ schema being used.
646647
},
647648
"maintenance_info": {
648649
"version": "2.1.1+abcdef",
650+
"description": "OS image update.\nExpect downtime."
649651
}
650652
}, {
651653
"name": "fake-plan-2",

swagger.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -748,6 +748,8 @@ definitions:
748748
properties:
749749
version:
750750
type: string
751+
description:
752+
type: string
751753
Context:
752754
description: >-
753755
See [Context

0 commit comments

Comments
 (0)