Skip to content

Restify the management async surface - #10

Merged
mamonth merged 1 commit into
mainfrom
feature/restify-management-event-api
Sep 7, 2026
Merged

mamonth merged 1 commit into
mainfrom
feature/restify-management-event-api

Conversation

@mamonth

@mamonth mamonth commented Sep 7, 2026

Copy link
Copy Markdown
Owner

BREAKING: POST /_mock/events drops the required type: "fire" discriminator and renames the identity field event → name (request becomes {name, payload, delay, global}, success response becomes {success, name}); a body missing name is rejected with 400.

BREAKING: POST /_mock/async/push → POST /_mock/async/messages (same body, same semantics; symmetric with /_mock/events and /_mock/examples).

BREAKING: POST /_mock/async/disconnect → DELETE
/_mock/async/consumers/{connectionId}; the consumer id moves from the body to the path and the optional close control (code, reason, abrupt) becomes query parameters (no request body).

Sync delta specs to openspec/specs and archive the change.

BREAKING: POST /_mock/events drops the required `type: "fire"`
discriminator and renames the identity field `event` → `name`
(request becomes {name, payload, delay, global}, success response
becomes {success, name}); a body missing `name` is rejected with 400.

BREAKING: POST /_mock/async/push → POST /_mock/async/messages (same
body, same semantics; symmetric with /_mock/events and /_mock/examples).

BREAKING: POST /_mock/async/disconnect → DELETE
/_mock/async/consumers/{connectionId}; the consumer id moves from the
body to the path and the optional close control (code, reason, abrupt)
becomes query parameters (no request body).

Sync delta specs to openspec/specs and archive the change.
@mamonth
mamonth merged commit 8665fd1 into main Sep 7, 2026
6 checks passed
@mamonth
mamonth deleted the feature/restify-management-event-api branch September 7, 2026 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant