Skip to content

Commit

Permalink
Fix the event example in cloudevents-binding
Browse files Browse the repository at this point in the history
The current example uses an incosistent type and draft versions.
Align the example with the v0.3.0 spec and make it consistent.

Fixes: #178

Signed-off-by: Andrea Frittoli <[email protected]>
  • Loading branch information
afrittoli committed Jan 19, 2024
1 parent ba07b76 commit b4ecddc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cloudevents-binding.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Full example of a CDEvents transported through a CloudEvent in HTTP *binary* mod
POST /sink HTTP/1.1
Host: cdevents.example.com
ce-specversion: 1.0
ce-type: dev.cdevents.taskrun.started.0.1-draft
ce-type: dev.cdevents.taskrun.started.0.1.1
ce-time: 2018-04-05T17:31:00Z
ce-id: A234-1234-1234
ce-source: /staging/tekton/
Expand All @@ -102,10 +102,10 @@ Content-Length: nnnn

{
"context": {
"version": "0.4.0-draft",
"version": "0.3.0",
"id" : "A234-1234-1234",
"source" : "/staging/tekton/",
"type" : "dev.cdevents.taskrun.started",
"type" : "dev.cdevents.taskrun.started.0.1.1",
"timestamp" : "2018-04-05T17:31:00Z",
}
"subject" : {
Expand Down

0 comments on commit b4ecddc

Please sign in to comment.