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 asyncapi http response validation #683

Open
3 tasks
Tracked by #513
jfallows opened this issue Jan 2, 2024 · 2 comments
Open
3 tasks
Tracked by #513

Support asyncapi http response validation #683

jfallows opened this issue Jan 2, 2024 · 2 comments
Labels
story Feature description from user's perspective

Comments

@jfallows
Copy link
Contributor

jfallows commented Jan 2, 2024

Describe the desired outcome from the user's perspective
As an AsyncAPI consumer, I want to configure zilla to validate http responses consistent with an AsyncAPI specification.

Acceptance criteria

  • generate command includes http response validation for asyncapi
  • http server binding responses are validated and replaced if invalid
  • http client binding responses are validated and replaced if invalid

Additional context
None

Tasks

  • Integrate http server binding response validation
  • Integrate http client binding response validation
  • Include http response validation in generate command output for asyncapi specification (http)
@jfallows jfallows added the story Feature description from user's perspective label Jan 2, 2024
@attilakreiner
Copy link
Contributor

attilakreiner commented Jan 16, 2024

AsyncApi reference does not seem to provide a way to define the http response status code.

I posted the question about this on AsnycApi slack: https://asyncapi.slack.com/archives/C34F2JV0U/p1705059814234959

Turns out it's a missing feature that already has an issue asyncapi/bindings#234 and a PR asyncapi/bindings#235

This issue is now blocked pending on the completion of this AsyncAPI PR.

@jfallows
Copy link
Contributor Author

This is no longer blocked, see asyncapi/bindings#234.

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

No branches or pull requests

2 participants