Commit Graph

5 Commits

Author SHA1 Message Date
Lance Ball 5110ad4c67 src,fix: drop support for v0.2 and clean up contenttype
This commit removes support for the v0.2 specification. It also removes the
`contenttype` attribute from the `CloudEvent` object. While the HTTP protocol
binding specifies that in binary mode, the `datacontenttype` attribute should
map to the HTTP Content-Type header, that doesn't mean that the `CloudEvent`
object should have a `contenttype` property.

Fixes: https://github.com/cloudevents/sdk-javascript/issues/61
Fixes: https://github.com/cloudevents/sdk-javascript/issues/66

Signed-off-by: Lance Ball <lball@redhat.com>
2020-04-28 17:37:49 -03:00
Fabio José 8afbf57e36 Json schema for spec v1
Signed-off-by: Fabio José <fabiojose@gmail.com>
2019-10-29 08:55:42 -03:00
Fabio José b8f1012d1d Implementing the spec 0.3 attributes
Signed-off-by: Fabio José <fabiojose@gmail.com>
2019-07-28 21:53:34 -03:00
Fabio José d02f21c923 Add schemaurl def
Signed-off-by: Fabio José <fabiojose@gmail.com>
2019-01-21 09:11:26 -02:00
Fabio José 8c15e14ef1 External resources: JSON Schema
Signed-off-by: Fabio José <fabiojose@gmail.com>
2019-01-19 23:44:22 -02:00