Skip to content

Commit

Permalink
Rename some fields in swagger.yaml and openapi.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: leonwanghui <[email protected]>
  • Loading branch information
leonwanghui committed Jun 17, 2019
1 parent 82f6f13 commit 2745826
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceInstanceProvision'
$ref: '#/components/schemas/ServiceInstanceProvisionResponse'
'201':
description: Created
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceInstanceProvision'
$ref: '#/components/schemas/ServiceInstanceProvisionResponse'
'202':
description: Accepted
content:
Expand Down Expand Up @@ -400,13 +400,13 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceBinding'
$ref: '#/components/schemas/ServiceBindingResponse'
'201':
description: Created
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceBinding'
$ref: '#/components/schemas/ServiceBindingResponse'
'202':
description: Accepted
content:
Expand Down Expand Up @@ -695,7 +695,7 @@ components:
parameters:
$ref: '#/components/schemas/Object'

ServiceInstanceProvision:
ServiceInstanceProvisionResponse:
type: object
properties:
dashboard_url:
Expand Down Expand Up @@ -808,7 +808,7 @@ components:
route:
type: string

ServiceBinding:
ServiceBindingResponse:
type: object
properties:
credentials:
Expand Down
12 changes: 6 additions & 6 deletions swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@ paths:
'200':
description: OK
schema:
$ref: '#/definitions/ServiceInstanceProvision'
$ref: '#/definitions/ServiceInstanceProvisionResponse'
'201':
description: Created
schema:
$ref: '#/definitions/ServiceInstanceProvision'
$ref: '#/definitions/ServiceInstanceProvisionResponse'
'202':
description: Accepted
schema:
Expand Down Expand Up @@ -310,11 +310,11 @@ paths:
'200':
description: OK
schema:
$ref: '#/definitions/ServiceBinding'
$ref: '#/definitions/ServiceBindingResponse'
'201':
description: Created
schema:
$ref: '#/definitions/ServiceBinding'
$ref: '#/definitions/ServiceBindingResponse'
'202':
description: Accepted
schema:
Expand Down Expand Up @@ -605,7 +605,7 @@ definitions:
$ref: '#/definitions/Object'
maintenance_info:
$ref: '#/definitions/MaintenanceInfo'
ServiceInstanceProvision:
ServiceInstanceProvisionResponse:
type: object
properties:
dashboard_url:
Expand Down Expand Up @@ -709,7 +709,7 @@ definitions:
type: string
route:
type: string
ServiceBinding:
ServiceBindingResponse:
type: object
properties:
credentials:
Expand Down

0 comments on commit 2745826

Please sign in to comment.