Skip to content

Commit dc7f369

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

File tree

3 files changed

+41
-29
lines changed

3 files changed

+41
-29
lines changed

openapi.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,11 @@ paths:
282282
schema:
283283
$ref: '#/components/schemas/LastOperationResource'
284284
headers:
285-
- $ref: '#/components/parameters/RetryAfter'
285+
Retry-After:
286+
description: Indicates when to retry the request
287+
required: false
288+
schema:
289+
type: string
286290
'400':
287291
description: Bad Request
288292
content:
@@ -339,7 +343,11 @@ paths:
339343
schema:
340344
$ref: '#/components/schemas/LastOperationResource'
341345
headers:
342-
- $ref: '#/components/parameters/RetryAfter'
346+
Retry-After:
347+
description: Indicates when to retry the request
348+
required: false
349+
schema:
350+
type: string
343351
'400':
344352
description: Bad Request
345353
content:
@@ -537,14 +545,6 @@ components:
537545
schema:
538546
type: string
539547

540-
RetryAfter:
541-
name: Retry-After
542-
in: header
543-
description: Indicates when to retry the request
544-
require: false
545-
schema:
546-
type: string
547-
548548
schemas:
549549
Catalog:
550550
type: object

spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ 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 a maintenance update is available for a Service Instance. |
550+
| version* | string | This MUST be a string conforming to a [semantic version 2.0](https://semver.org/spec/v2.0.0.html). The Platform MAY use this field to determine whether a maintenance update is available for a Service Instance. |
551551
| 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. |
552552

553553
\* Fields with an asterisk are REQUIRED.

swagger.yaml

Lines changed: 30 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,11 @@ paths:
5656
- $ref: '#/parameters/APIVersion'
5757
- $ref: '#/parameters/OriginatingIdentity'
5858
- $ref: '#/parameters/RequestIdentity'
59-
- $ref: '#/parameters/instance_id'
59+
- name: instance_id
60+
in: path
61+
description: instance id of instance to provision
62+
required: true
63+
type: string
6064
put:
6165
summary: provision a service instance
6266
tags:
@@ -180,7 +184,11 @@ paths:
180184
- $ref: '#/parameters/APIVersion'
181185
- $ref: '#/parameters/OriginatingIdentity'
182186
- $ref: '#/parameters/RequestIdentity'
183-
- $ref: '#/parameters/instance_id'
187+
- name: instance_id
188+
in: path
189+
description: instance id of instance to provision
190+
required: true
191+
type: string
184192
get:
185193
summary: last requested operation state for service instance
186194
tags:
@@ -223,8 +231,16 @@ paths:
223231
- $ref: '#/parameters/APIVersion'
224232
- $ref: '#/parameters/OriginatingIdentity'
225233
- $ref: '#/parameters/RequestIdentity'
226-
- $ref: '#/parameters/instance_id'
227-
- $ref: '#/parameters/binding_id'
234+
- name: instance_id
235+
in: path
236+
description: instance id of instance to provision
237+
required: true
238+
type: string
239+
- name: binding_id
240+
in: path
241+
description: binding id of binding to create
242+
required: true
243+
type: string
228244
get:
229245
summary: last requested operation state for service binding
230246
tags:
@@ -267,8 +283,16 @@ paths:
267283
- $ref: '#/parameters/APIVersion'
268284
- $ref: '#/parameters/OriginatingIdentity'
269285
- $ref: '#/parameters/RequestIdentity'
270-
- $ref: '#/parameters/instance_id'
271-
- $ref: '#/parameters/binding_id'
286+
- name: instance_id
287+
in: path
288+
description: instance id of instance to provision
289+
required: true
290+
type: string
291+
- name: binding_id
292+
in: path
293+
description: binding id of binding to create
294+
required: true
295+
type: string
272296
put:
273297
summary: generation of a service binding
274298
tags:
@@ -375,12 +399,6 @@ parameters:
375399
in: header
376400
description: idenity of the request from the Platform
377401
type: string
378-
instance_id:
379-
name: instance_id
380-
in: path
381-
description: instance id of instance to provision
382-
required: true
383-
type: string
384402
accepts_incomplete:
385403
name: accepts_incomplete
386404
in: query
@@ -398,12 +416,6 @@ parameters:
398416
description: id of the plan associated with the instance being deleted
399417
required: true
400418
type: string
401-
binding_id:
402-
name: binding_id
403-
in: path
404-
description: binding id of binding to create
405-
required: true
406-
type: string
407419

408420
responses:
409421
ErrorBadRequest:

0 commit comments

Comments
 (0)