Sync common files from Commonalities r4.3#190
0 errors, 62 warnings, 10 hints
Profile: standard | Branch: main | Trigger: pr
Annotations
Check warning on line 1 in code/API_definitions/connectivity-insights-subscriptions.yaml
camara-validation / CAMARA Validation
CloudEvent should be $ref, not inline
[P-020] CloudEvent is defined inline in code/API_definitions/connectivity-insights-subscriptions.yaml. Consume the shared schema from CAMARA_event_common.yaml via $ref instead of maintaining a local copy.
Suggestion: Replace the local CloudEvent schema with `$ref: './CAMARA_event_common.yaml#/components/schemas/CloudEvent'`, or an allOf combining the $ref with an API-specific ApiEventType schema. See implicit-events API template in Commonalities artifacts/api-templates/.
Check warning on line 1 in code/API_definitions/connectivity-insights-subscriptions.yaml
camara-validation / CAMARA Validation
Mandatory info.description template missing
[P-026] info.description is missing the mandatory template 'authorization-and-authentication'. Paste the BEGIN..END block from 'code/common/info-description-templates.yaml'. | info.description is missing the mandatory template 'additional-error-responses'. Paste the BEGIN..END block from 'code/common/info-description-templates.yaml'. | info.description is missing the mandatory template 'request-body-strictness'. Paste the BEGIN..END block from 'code/common/info-description-templates.yaml'.
Suggestion: Paste the missing BEGIN..END block from code/common/info-description-templates.yaml under the template name reported in the message into info.description.
Check warning on line 199 in code/API_definitions/connectivity-insights-subscriptions.yaml
camara-validation / CAMARA Validation
Notification must use application/cloudevents+json
[S-035] Notification callback content type must include 'application/cloudevents+json', found: application/cloudevents+json:
Check warning on line 278 in code/API_definitions/connectivity-insights-subscriptions.yaml
camara-validation / CAMARA Validation
Array must declare maxItems
[S-309] Schema of type array must specify maxItems.
Suggestion: Add maxItems to constrain array size (CAMARA Design Guide section 2.2).
Check warning on line 393 in code/API_definitions/connectivity-insights-subscriptions.yaml
camara-validation / CAMARA Validation
Schema property must have a description
[S-011] Property description is missing or empty: "XCorrelator.description" property must be truthy
Check warning on line 393 in code/API_definitions/connectivity-insights-subscriptions.yaml
camara-validation / CAMARA Validation
String must declare maxLength, enum, or const
[S-312] Schema of type string must specify maxLength, enum, or const.
Suggestion: Add maxLength, enum, or const to string properties (CAMARA Design Guide section 2.2).
Check warning on line 425 in code/API_definitions/connectivity-insights-subscriptions.yaml
camara-validation / CAMARA Validation
Required property not defined in properties
[S-030] Required property 'id' is not defined in 'properties'
Check warning on line 435 in code/API_definitions/connectivity-insights-subscriptions.yaml
camara-validation / CAMARA Validation
String must declare maxLength, enum, or const
[S-312] Schema of type string must specify maxLength, enum, or const.
Suggestion: Add maxLength, enum, or const to string properties (CAMARA Design Guide section 2.2).
Check warning on line 453 in code/API_definitions/connectivity-insights-subscriptions.yaml
camara-validation / CAMARA Validation
String must declare maxLength, enum, or const
[S-312] Schema of type string must specify maxLength, enum, or const.
Suggestion: Add maxLength, enum, or const to string properties (CAMARA Design Guide section 2.2).
Check warning on line 458 in code/API_definitions/connectivity-insights-subscriptions.yaml
camara-validation / CAMARA Validation
String must declare maxLength, enum, or const
[S-312] Schema of type string must specify maxLength, enum, or const.
Suggestion: Add maxLength, enum, or const to string properties (CAMARA Design Guide section 2.2).
Check warning on line 464 in code/API_definitions/connectivity-insights-subscriptions.yaml
camara-validation / CAMARA Validation
String must declare maxLength, enum, or const
[S-312] Schema of type string must specify maxLength, enum, or const.
Suggestion: Add maxLength, enum, or const to string properties (CAMARA Design Guide section 2.2).
Check warning on line 518 in code/API_definitions/connectivity-insights-subscriptions.yaml
camara-validation / CAMARA Validation
String must declare maxLength, enum, or const
[S-312] Schema of type string must specify maxLength, enum, or const.
Suggestion: Add maxLength, enum, or const to string properties (CAMARA Design Guide section 2.2).
Check warning on line 545 in code/API_definitions/connectivity-insights-subscriptions.yaml
camara-validation / CAMARA Validation
String must declare maxLength, enum, or const
[S-312] Schema of type string must specify maxLength, enum, or const.
Suggestion: Add maxLength, enum, or const to string properties (CAMARA Design Guide section 2.2).
Check warning on line 556 in code/API_definitions/connectivity-insights-subscriptions.yaml
camara-validation / CAMARA Validation
String must declare maxLength, enum, or const
[S-312] Schema of type string must specify maxLength, enum, or const.
Suggestion: Add maxLength, enum, or const to string properties (CAMARA Design Guide section 2.2).
Check warning on line 600 in code/API_definitions/connectivity-insights-subscriptions.yaml
camara-validation / CAMARA Validation
String must declare maxLength, enum, or const
[S-312] Schema of type string must specify maxLength, enum, or const.
Suggestion: Add maxLength, enum, or const to string properties (CAMARA Design Guide section 2.2).
Check warning on line 606 in code/API_definitions/connectivity-insights-subscriptions.yaml
camara-validation / CAMARA Validation
String must declare maxLength, enum, or const
[S-312] Schema of type string must specify maxLength, enum, or const.
Suggestion: Add maxLength, enum, or const to string properties (CAMARA Design Guide section 2.2).
Check warning on line 619 in code/API_definitions/connectivity-insights-subscriptions.yaml
camara-validation / CAMARA Validation
Integer must declare int32 or int64 format
[S-310] Schema of type integer must specify format (int32 or int64).
Suggestion: Add format: int32 or int64 to integer properties (CAMARA Design Guide section 2.2).
Check warning on line 630 in code/API_definitions/connectivity-insights-subscriptions.yaml
camara-validation / CAMARA Validation
Array must declare maxItems
[S-309] Schema of type array must specify maxItems.
Suggestion: Add maxItems to constrain array size (CAMARA Design Guide section 2.2).
Check warning on line 634 in code/API_definitions/connectivity-insights-subscriptions.yaml
camara-validation / CAMARA Validation
Array items must have a description
[S-031] Array items must have a description
Check warning on line 644 in code/API_definitions/connectivity-insights-subscriptions.yaml
camara-validation / CAMARA Validation
Array must declare maxItems
[S-309] Schema of type array must specify maxItems.
Suggestion: Add maxItems to constrain array size (CAMARA Design Guide section 2.2).
Check warning on line 685 in code/API_definitions/connectivity-insights-subscriptions.yaml
camara-validation / CAMARA Validation
String must declare maxLength, enum, or const
[S-312] Schema of type string must specify maxLength, enum, or const.
Suggestion: Add maxLength, enum, or const to string properties (CAMARA Design Guide section 2.2).
Check warning on line 697 in code/API_definitions/connectivity-insights-subscriptions.yaml
camara-validation / CAMARA Validation
String must declare maxLength, enum, or const
[S-312] Schema of type string must specify maxLength, enum, or const.
Suggestion: Add maxLength, enum, or const to string properties (CAMARA Design Guide section 2.2).
Check warning on line 723 in code/API_definitions/connectivity-insights-subscriptions.yaml
camara-validation / CAMARA Validation
String must declare maxLength, enum, or const
[S-312] Schema of type string must specify maxLength, enum, or const.
Suggestion: Add maxLength, enum, or const to string properties (CAMARA Design Guide section 2.2).
Check warning on line 731 in code/API_definitions/connectivity-insights-subscriptions.yaml
camara-validation / CAMARA Validation
Integer must declare int32 or int64 format
[S-310] Schema of type integer must specify format (int32 or int64).
Suggestion: Add format: int32 or int64 to integer properties (CAMARA Design Guide section 2.2).
Check warning on line 731 in code/API_definitions/connectivity-insights-subscriptions.yaml
camara-validation / CAMARA Validation
Integer must declare minimum and maximum
[S-311] Schema of type integer must specify minimum and maximum.
Suggestion: Add minimum and maximum to integer properties (CAMARA Design Guide section 2.2).