Update API definitions with corrected defaults and schema constraints-align with commonalities r4.2 #116
Annotations
2 warnings and 10 notices
|
Emit annotations:
code/API_definitions/network-slice-booking.yaml#L1
[P-020] CloudEvent is defined inline in code/API_definitions/network-slice-booking.yaml. Consume the shared schema from CAMARA_event_common.yaml via $ref instead of maintaining a local copy. | Suggestion%3A Replace the local CloudEvent schema with `$ref%3A './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/.
|
|
Emit annotations:
code/API_definitions/network-slice-assignment.yaml#L1
[P-020] CloudEvent is defined inline in code/API_definitions/network-slice-assignment.yaml. Consume the shared schema from CAMARA_event_common.yaml via $ref instead of maintaining a local copy. | Suggestion%3A Replace the local CloudEvent schema with `$ref%3A './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/.
|
|
Emit annotations:
code/API_definitions/network-slice-booking.yaml#L627
[S-211] Potentially unused component has been detected. | Suggestion%3A Spectral does not follow discriminator mappings — verify the schema is truly unused.
|
|
Emit annotations:
code/API_definitions/network-slice-booking.yaml#L484
[S-211] Potentially unused component has been detected. | Suggestion%3A Spectral does not follow discriminator mappings — verify the schema is truly unused.
|
|
Emit annotations:
code/API_definitions/network-slice-booking.yaml#L468
[S-211] Potentially unused component has been detected. | Suggestion%3A Spectral does not follow discriminator mappings — verify the schema is truly unused.
|
|
Emit annotations:
code/API_definitions/network-slice-assignment.yaml#L1172
[S-211] Potentially unused component has been detected. | Suggestion%3A Spectral does not follow discriminator mappings — verify the schema is truly unused.
|
|
Emit annotations:
code/API_definitions/network-slice-assignment.yaml#L1025
[S-211] Potentially unused component has been detected. | Suggestion%3A Spectral does not follow discriminator mappings — verify the schema is truly unused.
|
|
Emit annotations:
code/API_definitions/network-slice-assignment.yaml#L1002
[S-313] Schema of type string should specify a format, pattern, enum, or const. | Suggestion%3A Acceptable if free-form field or implementation-dependent — no fix needed.
|
|
Emit annotations:
code/API_definitions/network-slice-assignment.yaml#L995
[S-211] Potentially unused component has been detected. | Suggestion%3A Spectral does not follow discriminator mappings — verify the schema is truly unused.
|
|
Emit annotations:
code/API_definitions/network-slice-assignment.yaml#L937
[S-211] Potentially unused component has been detected. | Suggestion%3A Spectral does not follow discriminator mappings — verify the schema is truly unused.
|
|
Emit annotations:
code/API_definitions/network-slice-assignment.yaml#L797
[S-211] Potentially unused component has been detected. | Suggestion%3A Spectral does not follow discriminator mappings — verify the schema is truly unused.
|
|
Emit annotations:
code/API_definitions/network-slice-assignment.yaml#L781
[S-211] Potentially unused component has been detected. | Suggestion%3A Spectral does not follow discriminator mappings — verify the schema is truly unused.
|
background
wait
wait-all
cancel
Loading