Describe the bug
All 8 webhook operations in TimeAddressableMediaStore.yaml are missing a responses field. The OpenAPI 3.1 spec requires responses on every Operation Object, and webhooks use the same structure as path operations, so there's no exemption. Strictly speaking this makes the spec invalid.
Affected webhooks: flows/created, flows/updated, flows/deleted, flows/segments_added, flows/segments_deleted, sources/created, sources/updated, sources/deleted.
Expected behavior
Each webhook operation should have a responses field describing what the receiving endpoint (the registered client) should return. In practice this is usually just a 200 acknowledgement, but the field needs to be present.
Suggested fix
Add a responses block to each webhook operation:
flows/created:
post:
requestBody:
...
responses:
"200":
description: Webhook received successfully
Additional context
Per the OpenAPI 3.1 spec — Operation Object, responses is a required field. Webhooks use the same Operation Object structure as path operations so there's no exemption.
Found this while trying to generate server stubs with openapi-generator — it validates the spec before generating and hard fails on the missing field.
Describe the bug
All 8 webhook operations in
TimeAddressableMediaStore.yamlare missing aresponsesfield. The OpenAPI 3.1 spec requiresresponseson every Operation Object, and webhooks use the same structure as path operations, so there's no exemption. Strictly speaking this makes the spec invalid.Affected webhooks:
flows/created,flows/updated,flows/deleted,flows/segments_added,flows/segments_deleted,sources/created,sources/updated,sources/deleted.Expected behavior
Each webhook operation should have a
responsesfield describing what the receiving endpoint (the registered client) should return. In practice this is usually just a200acknowledgement, but the field needs to be present.Suggested fix
Add a
responsesblock to each webhook operation:Additional context
Per the OpenAPI 3.1 spec — Operation Object,
responsesis a required field. Webhooks use the same Operation Object structure as path operations so there's no exemption.Found this while trying to generate server stubs with
openapi-generator— it validates the spec before generating and hard fails on the missing field.