Skip to content

Complete usage of external $ref for all CAMARA common components #136

Description

@tanjadegroot

Problem description
The use of $reg to CAMARA common files is only partially applied today. Full usage will guarantee consistency with the CAMARA common components (schemas, headers, parameters).

Examples: x-correlator header and parameter, XCorrelator schema, DateTime schema, Device and related schemas, etc.

Expected behavior

  • Replace all $ref to common schemas, headers and parameters with one referring to CAMARA common files in both API yaml files.
  • Remove all externally references component definitions from the source API files.

If you need to redefine a common component with an API specific one, you need to give it a UpperCamelCase name (no digits allowed), such as XxxCommonSchema where Xxx refers to the local context of the API.

I have not seen any local definitions. so this last point may not apply.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions