Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions code/API_definitions/sample-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
- Two options for error responses:
- Option A: Pure `$ref` for responses using only generic error codes
- Option B: Local response definition extending generic errors with API-specific codes

Test marker (2026-04-26): this PR is open to verify how the legacy v0 `pr_validation` workflow behaves on API specs that use `$ref` into `code/common/`. No substantive change.
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
Expand Down Expand Up @@ -221,7 +223,7 @@
required:
- name
properties:
name:

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

View check run for this annotation

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.
type: string
maxLength: 128
description: Human-readable name for the resource
Expand All @@ -236,7 +238,7 @@
properties:
resourceId:
$ref: "#/components/schemas/ResourceId"
name:

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

View check run for this annotation

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.
type: string
maxLength: 128
description: Human-readable name for the resource
Expand Down
Loading
Loading