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

feat(wasm): add /schemas/filters/:name API endpoint #11739

Merged
merged 1 commit into from
Oct 11, 2023

Conversation

flrgh
Copy link
Contributor

@flrgh flrgh commented Oct 11, 2023

Summary

This exposes JSON schemas for Wasm filters via a new API endpoint. For filters without a user-supplied schema, the default schema is returned.

For better interoperability with other systems, we also ensure that each schema has the proper draft 4 $schema attribute.

Checklist

  • The Pull Request has tests
  • A changelog file has been created under changelog/unreleased/kong or skip-changelog label added on PR if changelog is unnecessary. N/A (this is part of the unreleased wasm filter config schema feature)
  • There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com (COMING SOON)

Issue reference

KAG-2719

This exposes JSON schemas for Wasm filters via a new API endpoint. For
filters without a user-supplied schema, the default schema is returned.

For better interoperability with other systems, we also ensure that each
schema has the proper draft 4 '$schema' attribute.
Copy link
Contributor

@locao locao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@locao locao merged commit 7f20bb1 into master Oct 11, 2023
33 of 35 checks passed
@locao locao deleted the feat/wasm-filter-schema-api branch October 11, 2023 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants