Skip to content

feat: add 'try it out' form #1162

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Shepard2154
Copy link

@Shepard2154 Shepard2154 commented Jun 14, 2025

@AceTheCreator, could you take a look at my demo solution and help me with the "try it out" form feature (especially in edge cases)? I believe that together we will be able to do this step by step.

Changes proposed in this pull request:

  • created "try it out" form for every operation (pub/sub)
  • realized POST method for sending messages from this form
  • realized 2 modes for sending messages for more flexibility:
    • Form (inputs generated from schema)
    • Raw JSON (also generated but without any limitations)
  • added a checkbox for sending a message to a test/real broker (information for the receiving party)
  • added dependencies: '@rjsf/antd' and '@rjsf/validator-ajv8'

Related issue(s)
Resolves #914

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Welcome to AsyncAPI. Thanks a lot for creating your first pull request. Please check out our contributors guide useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.

Copy link

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

Successfully merging this pull request may close these issues.

Execute API calls from UI
1 participant