Skip to content

Commit

Permalink
Merge pull request #414 from mattmcneeney/no-operation-in-sync-provision
Browse files Browse the repository at this point in the history
No operation in OpenAPI synchronous service instance provision response
  • Loading branch information
mattmcneeney authored Jan 19, 2018
2 parents 7f22373 + 88fa3e2 commit d3044ae
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ openapi: "3.0.0"
info:
title: Open Service Broker API
description: The Open Service Broker API defines an HTTP(S) interface between Platforms and Service Brokers.
license:
license:
name: Apache 2.0
url: http://www.apache.org/licenses/LICENSE-2.0.html
contact:
contact:
name: Open Service Broker API
url: https://www.openservicebrokerapi.org/
email: [email protected]
Expand Down Expand Up @@ -85,7 +85,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceInstanceProvision'
$ref: '#/components/schemas/ServiceInstanceAsyncProvision'
'400':
description: Bad Request
content:
Expand Down Expand Up @@ -131,25 +131,25 @@ paths:
schema:
$ref: '#/components/schemas/ServiceInstanceUpdateRequest'
responses:
'200':
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Object'
'202':
'202':
description: Accepted
content:
application/json:
schema:
$ref: '#/components/schemas/AsyncOperation'
'400':
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/Object'
'422':
'422':
description: Unprocessable entity
content:
application/json:
Expand Down Expand Up @@ -503,7 +503,7 @@ components:
SchemaParameters:
type: object
properties:
parameters:
parameters:
$ref: '#/components/schemas/JSONSchemaObject'

JSONSchemaObject:
Expand Down Expand Up @@ -533,6 +533,12 @@ components:
$ref: '#/components/schemas/Object'

ServiceInstanceProvision:
type: object
properties:
dashboard_url:
type: string

ServiceInstanceAsyncProvision:
type: object
properties:
dashboard_url:
Expand Down Expand Up @@ -679,7 +685,7 @@ components:
Object:
type: object

Error:
Error:
type: object
properties:
error:
Expand Down

0 comments on commit d3044ae

Please sign in to comment.