Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenAPI spec callbacks #177

Open
jayvdb opened this issue Sep 13, 2022 · 0 comments
Open

OpenAPI spec callbacks #177

jayvdb opened this issue Sep 13, 2022 · 0 comments

Comments

@jayvdb
Copy link

jayvdb commented Sep 13, 2022

The OpenAPI support is experimental, so it isnt surprising that OpenAPI spec callbacks are not supported yet.

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

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

It would be great if the OpenAPI support included support for these in the same manner.

It looks like the mockintosh native config yaml also does not support this type of async HTTP callback, but I would love to be proven wrong about that.

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

No branches or pull requests

1 participant