JustinFeng / fakeit

Create mock server from Openapi specification
MIT License
77 stars 5 forks source link

callback support #28

Open jayvdb opened 2 years ago

jayvdb commented 2 years ago

OpenAPI callbacks define outgoing async requests, typically back to the sender. Also known as webhooks. docs: https://swagger.io/docs/specification/callbacks/ spec: https://spec.openapis.org/oas/v3.0.2#callbackObject

It appears they are not supported yet.

https://blog.stoplight.io/mocking-callbacks-openapi-prism shows how these callbacks are utilised by https://github.com/stoplightio/prism to create mocks.

JustinFeng commented 2 years ago

@jayvdb good one, thanks for the feedback, feel free to submit a PR if you keen, will add this to future release otherwise