core
core copied to clipboard
feat: add webhook - openapi
| Q | A |
|---|---|
| Branch? | main |
| Tickets | |
| License | MIT |
| Doc PR |
Possible to configure a webhook via an attribute:
` #[ApiResource(operations: [
new Post(openapi: new Webhook(name: 'a cute name')
)),
new Get(openapi: new Webhook(
name: 'a cute name',
pathItem: new PathItem(
get: new Operation(
summary: 'Something else here',
description: 'Something else here for example',
),
)
)),
] )]` and generate documentation
Nice! Do you think we could add a functional test to features/openapi/docs.feature with a webhook?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.