Skip to content

Regression/r4.1 broken spec routing - #132

Closed
hdamker wants to merge 4 commits into
mainfrom
regression/r4.1-broken-spec-routing
Closed

hdamker wants to merge 4 commits into
mainfrom
regression/r4.1-broken-spec-routing

Recapture regression fixture: +S-036 (parameter-name lowerCamelCase)

5712d1e
Select commit
Loading
Failed to load commit list.
camara-validation / CAMARA Validation failed Apr 27, 2026 in 0s

10 errors, 8 warnings, 18 hints

Profile: standard | Branch: main | Trigger: pr

Annotations

Check failure on line 1 in code/API_definitions/sample-service.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

Server URL must include version segment

[P-004] Server URL 'http://insecure.example.com/sample-service' has no recognisable version segment (expected '.../vwip')

Check failure on line 30 in code/API_definitions/sample-service.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

Server URL must not use http://

[S-306] Server URLs must not use http://. Use https:// or wss:// instead.

Check failure on line 42 in code/API_definitions/sample-service.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

Path segments must be kebab-case

[S-008] /resources/ is not kebab-case: Object{} must match the pattern "^/([a-z0-9]+(-[a-z0-9]+)*)?(/[a-z0-9]+(-[a-z0-9]+)*|/{.+})*$"

Check failure on line 118 in code/API_definitions/sample-service.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

Duplicate operationId

[S-217] Every operation must have unique "operationId".

Check failure on line 130 in code/API_definitions/sample-service.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

GET / DELETE must not have a request body

[S-002] There must be no request body for Get and DELETE

Check failure on line 183 in code/API_definitions/sample-service.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

Unsupported HTTP method on path

[S-003] Invalid HTTP method for '#/paths/~1resources~1%7Bid%7D/trace'. Must be one of get, put, post, delete, patch, options.

Check failure on line 192 in code/API_definitions/sample-service.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

Operation must document a 401 response

[S-307] Operation is missing responses[401].

Hint: All secured operations must document a 401 Unauthorized response (CAMARA Design Guide section 3.2).

Check failure on line 195 in code/API_definitions/sample-service.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

Path segments must be kebab-case

[S-008] /Widgets/{widgetId} is not kebab-case: Object{} must match the pattern "^/([a-z0-9]+(-[a-z0-9]+)*)?(/[a-z0-9]+(-[a-z0-9]+)*|/{.+})*$"

Check failure on line 196 in code/API_definitions/sample-service.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

Path parameter mismatch

[S-227] Operation must define parameter "{widgetId}" as expected by path "/Widgets/{widgetId}".

Check failure on line 202 in code/API_definitions/sample-service.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

Operation must document a 401 response

[S-307] Operation is missing responses[401].

Hint: All secured operations must document a 401 Unauthorized response (CAMARA Design Guide section 3.2).

Check warning on line 42 in code/API_definitions/sample-service.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

Path must not end with /

[S-225] Path must not end with slash.

Check warning on line 82 in code/API_definitions/sample-service.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

Operation must have exactly one tag

[S-220] Operation must not have more than a single tag.

Check warning on line 122 in code/API_definitions/sample-service.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

Parameter names (path/query) must be lowerCamelCase

[S-036] name is not lowerCamelCase: "Filter_id" must match the pattern "^[a-z][a-zA-Z0-9]*$"

Check warning on line 159 in code/API_definitions/sample-service.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

Operation tag not defined in tags list

[S-222] Operation tags must be defined in global tags.

Check warning on line 192 in code/API_definitions/sample-service.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

Operation must document a 400/422 response

[S-318] Missing error response of either 400, 422 or 4XX.

Hint: Document 400 or 422 error responses for input validation (CAMARA Design Guide section 3.2).

Check warning on line 202 in code/API_definitions/sample-service.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

Operation must document a 403 response

[S-024] Operation is missing a 403 response definition.

Hint: All operations must document a 403 Forbidden response (CAMARA Design Guide section 3.2).

Check warning on line 202 in code/API_definitions/sample-service.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

Operation must document a 400/422 response

[S-318] Missing error response of either 400, 422 or 4XX.

Hint: Document 400 or 422 error responses for input validation (CAMARA Design Guide section 3.2).

Check warning on line 247 in code/API_definitions/sample-service.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

Use resource_id, not id, in path params

[S-010] Path Parameter Naming Warning: Use 'resource_id' instead of just 'id' in path parameters.

Check notice on line 271 in code/API_definitions/sample-implicit-events.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

String has no format/pattern/enum

[S-313] Schema of type string should specify a format, pattern, enum, or const.

Hint: Acceptable if free-form field or implementation-dependent — no fix needed.

Check notice on line 299 in code/API_definitions/sample-implicit-events.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

String has no format/pattern/enum

[S-313] Schema of type string should specify a format, pattern, enum, or const.

Hint: Acceptable if free-form field or implementation-dependent — no fix needed.

Check notice on line 371 in code/API_definitions/sample-implicit-events.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

Component may be unused

[S-211] Potentially unused component has been detected.

Hint: Spectral does not follow discriminator mappings — verify the schema is truly unused.

Check notice on line 383 in code/API_definitions/sample-implicit-events.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

Component may be unused

[S-211] Potentially unused component has been detected.

Hint: Spectral does not follow discriminator mappings — verify the schema is truly unused.

Check notice on line 476 in code/API_definitions/sample-service-subscriptions.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

Component may be unused

[S-211] Potentially unused component has been detected.

Hint: Spectral does not follow discriminator mappings — verify the schema is truly unused.

Check notice on line 488 in code/API_definitions/sample-service-subscriptions.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

Component may be unused

[S-211] Potentially unused component has been detected.

Hint: Spectral does not follow discriminator mappings — verify the schema is truly unused.

Check notice on line 505 in code/API_definitions/sample-service-subscriptions.yaml

See this annotation in the file changed.

@camara-validation camara-validation / CAMARA Validation

Component may be unused

[S-211] Potentially unused component has been detected.

Hint: Spectral does not follow discriminator mappings — verify the schema is truly unused.