Skip to content

Commit

Permalink
Reconcile service binding resource between openapi versions (#742)
Browse files Browse the repository at this point in the history
* Adds endpoints to service binding resource

* Adds endpoints to service binding response
  • Loading branch information
WalkerGriggs authored Jun 22, 2021
1 parent 183b3bc commit c619d71
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,10 @@ definitions:
type: array
items:
$ref: '#/definitions/ServiceBindingVolumeMount'
endpoints:
type: array
items:
$ref: '#/definitions/ServiceBindingEndpoint'
parameters:
type: object
ServiceBindingRequest:
Expand Down Expand Up @@ -767,13 +771,36 @@ definitions:
type: array
items:
$ref: '#/definitions/ServiceBindingVolumeMount'
endpoints:
type: array
items:
$ref: '#/definitions/ServiceBindingEndpoint'
ServiceBindingMetadata:
type: object
properties:
expires_at:
type: string
renew_before:
type: string
ServiceBindingEndpoint:
type: object
required:
- host
- ports
properties:
host:
type: string
ports:
type: array
items:
type: string
protocol:
type: string
enum:
- tcp
- udp
- all
default: tcp
ServiceBindingVolumeMount:
type: object
required:
Expand Down

0 comments on commit c619d71

Please sign in to comment.