Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

guideline_for_datacontenttype_cloudevent_concept_as_enum #193

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 2 additions & 20 deletions artifacts/notification-as-cloud-event.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,30 +86,11 @@ paths:
$ref: '#/components/examples/QOS_STATUS_CHANGED_EXAMPLE'

responses:
201:
description: Created
headers:
X-Correlator:
$ref: "#/components/headers/X-Correlator"
202:
description: Accepted
headers:
X-Correlator:
$ref: "#/components/headers/X-Correlator"
204:
description: No Content
headers:
X-Correlator:
$ref: "#/components/headers/X-Correlator"
200:
description: Ok
headers:
X-Correlator:
$ref: "#/components/headers/X-Correlator"
content:
application/json:
schema:
type: object
400:
$ref: "#/components/responses/Generic400"
401:
Expand Down Expand Up @@ -202,6 +183,8 @@ components:
datacontenttype:
type: string
description: 'media-type that describes the event payload encoding, must be "application/json" for CAMARA APIs'
enum:
- application/json
data:
type: object
description: Event details payload described in each CAMARA API and referenced by its type
Expand Down Expand Up @@ -335,4 +318,3 @@ components:
sessionId: "6e8bc430-9c3a-11d9-9669-0800200c9a66"
qosStatus: UNAVAILABLE
statusInfo: DURATION_EXPIRED