Skip to content

Commit 092f36d

Browse files
committed
docs: fixed event identifier in sample
1 parent a9f2951 commit 092f36d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

spec/v3/examples/pf-response-event.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"type": "org.wbcsd.pact.ProductFootprint.RequestFulfilled.3",
2+
"type": "org.wbcsd.pact.ProductFootprint.RequestFulfilledEvent.3",
33
"specversion": "1.0",
44
"id": "5afe8fbf-0ea9-477c-a1df-2d3c95f7eec0",
55
"source": "//api.example.org/events",

tasks.py

+1
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ def experiment(c):
191191
# schexma = scripts.schema.load_openapi_file("spec/v3/openapi.yaml")
192192
# schema = scripts.schema.navigate_to(schema, "components/schemas/RequestCreatedEvent")
193193
# print(scripts.schema.dump_schema(schema))
194+
194195
scripts.schema.validate_json_data(
195196
"spec/v3/openapi.yaml#paths/%2F3%2Ffootprints/get/responses/200/content/application%2Fjson/schema",
196197
"spec/v3/examples/list-footprints-response.json"

0 commit comments

Comments
 (0)