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

Support HTTP prefer async with OpenAPI #876

Closed
2 tasks
jfallows opened this issue Mar 26, 2024 · 0 comments · Fixed by #899
Closed
2 tasks

Support HTTP prefer async with OpenAPI #876

jfallows opened this issue Mar 26, 2024 · 0 comments · Fixed by #899
Assignees
Labels
story Feature description from user's perspective

Comments

@jfallows
Copy link
Contributor

jfallows commented Mar 26, 2024

Describe the desired outcome from the user's perspective
As an API owner, I want to define an async path in my OpenAPI spec, and have the work with http-kafka mapping in zilla.

Acceptance criteria

  • Specifying prefer: respond-async in the HTTP request for POST to create a Pet in PetStore OpenAPI endpoint, returns 202 accepted with location header
  • Following up with a GET request to the returned location gives either the response (if complete) or another 202 if not yet complete

Additional context
None

Tasks

  • Define PetStore OpenAPI endpoint supporting prefer: respond-async and 202
  • Support mapping of async OpenAPI endpoint to http-kafka config in openapi binding
@jfallows jfallows added the story Feature description from user's perspective label Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
story Feature description from user's perspective
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants