Skip to content

Different ErrorInfo schemes in CAMARA_common.yaml and event-subscription-template.yaml #500

@hdamker

Description

@hdamker

Problem description

ErrorInfo:
type: object
required:
- status
- code
- message
properties:
status:
type: integer
description: HTTP response status code
code:
type: string
description: Code given to this error
message:
type: string
description: Detailed error description

vs

ErrorInfo:
type: object
required:
- message
- status
- code
properties:
message:
type: string
description: A human readable description of what the event represent
status:
type: integer
description: HTTP response status code
code:
type: string
description: Friendly Code to describe the error

Expected behavior

Both files are using the same schema definition for ErrorInfo

Alternative solution

Ignore as the two definitions are equivalent. Maybe address in a later release.

Additional context

Found as raised by validation script in webRTC:

🟡 Medium: Schema Consistency

  • Description: Schema ErrorInfo differs between files
  • Location: webrtc-events-subscription.yaml vs webrtc-call-handling.yaml
  • Fix: Ensure ErrorInfo schema is identical across all files

Metadata

Metadata

Assignees

No one assigned

    Labels

    correctioncorrection in documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions