Skip to content

Commit

Permalink
Update event-subscription-template.yaml
Browse files Browse the repository at this point in the history
Solve camaraproject#326 by updating servers field
  • Loading branch information
bigludo7 authored Oct 29, 2024
1 parent 93ee9ae commit 754f3fd
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions artifacts/camara-cloudevents/event-subscription-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,13 @@ externalDocs:
description: Product documentation at CAMARA
url: https://github.com/camaraproject/
servers:
- url: "{apiRoot}/{apiName}/v0.1"
- url: "{apiRoot}/api-name/vx.y"
# api-name and version should valued accordingly to the API
variables:
apiRoot:
default: http://localhost:9091
description: API root
apiName:
default: camaraAPI
description: apiName will be replaced in WG by its value and not modelled as a variable
description: API root, defined by the service provider, e.g. `api.example.com` or `api.example.com/somepath`

tags:
- name: <apiName> Subscription
description: Operations to manage event subscriptions on event-type event
Expand Down

0 comments on commit 754f3fd

Please sign in to comment.