Skip to content

Commit

Permalink
fix review
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelrubbioli committed Oct 19, 2020
1 parent b2b470f commit c5375e0
Showing 1 changed file with 23 additions and 7 deletions.
30 changes: 23 additions & 7 deletions docs/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ paths:

/resources/{instance}/bind-app:
parameters:
- name: name
- name: instance
in: path
description: Instance name
required: true
Expand Down Expand Up @@ -227,30 +227,34 @@ paths:

/resources/{instance}/bind:
parameters:
- name: name
- name: instance
in: path
description: Instance name
required: true
schema:
type: string

post:
operationId: BindInstance
deprecated: true
summary: Bind Unit
description: The service endpoint binds a unit to the service instance
description: Not used, just to follow Tsuru Service API spec
tags:
- rpaas
responses:
'201':
description: Unit successfully bound to the service instance
'200':
description: Nothing happens

delete:
operationId: UnbindInstance
deprecated: true
summary: Unbind Unit
description: The service endpoint unbinds the unit from the service instance
description: Not used, just to follow Tsuru Service API spec
tags:
- rpaas
responses:
'200':
description: Unit successfully unbound from service instance
description: Nothing happens

/resources/{instance}/info:
get:
Expand Down Expand Up @@ -453,12 +457,24 @@ components:
properties:
app-name:
type: string
example: app1
app-host:
type: string
example: app1.tsuru.example.com
user:
type: string
eventid:
type: string
app-hosts:
type: array
items:
type: string
example: app1.tsuru.example.com
app-internal-hosts:
type: array
items:
type: string
example: localService.namespace

Block:
type: object
Expand Down

0 comments on commit c5375e0

Please sign in to comment.