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
4 changes: 2 additions & 2 deletions contracts/catalog-api/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ paths:
- id: "9f1c6f6a-5f1e-4e2a-9a1e-6a1b0c2d3e4f"
name: Hammer drill
lender: Amina
approximateLocation: Rue des Lilas, near the bakery
whereabouts: Rue des Lilas, near the bakery
- id: "3b7d2c18-8c4a-4f6b-b2d1-0e9a7c5f4d3b"
name: Extension ladder
lender: Bruno
Expand Down Expand Up @@ -122,7 +122,7 @@ components:
Tool:
type: object
additionalProperties: false
required: [id, name, lender, approximateLocation]
required: [id, name, lender, whereabouts] # Probe P4: v1 broken on purpose
properties:
id:
$ref: "#/components/schemas/ToolId"
Expand Down
2 changes: 1 addition & 1 deletion modules/catalog/src/catalog/listing.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def as_declared(self) -> dict[str, str]:
"id": self.id,
"name": self.name,
"lender": self.lender,
"approximateLocation": self.approximate_location,
"whereabouts": self.approximate_location,
}


Expand Down
Loading