Skip to content

chore: json file supported in asyncapi new file command#1713

Merged
asyncapi-bot merged 2 commits intoasyncapi:masterfrom
Sumitwarrior7:master
Mar 12, 2025
Merged

chore: json file supported in asyncapi new file command#1713
asyncapi-bot merged 2 commits intoasyncapi:masterfrom
Sumitwarrior7:master

Conversation

@Sumitwarrior7
Copy link
Contributor

Description

  • Added default-example.json file, which will be displayed as the default JSON example.
  • Used AsyncAPI Studio to convert default-example.yaml into JSON format.
  • Ensured the JSON file accurately reflects the structure and content of the original YAML file.

Related issue(s)

Resolves #1710

@changeset-bot
Copy link

changeset-bot bot commented Mar 11, 2025

🦋 Changeset detected

Latest commit: 7860f93

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@asyncapi/cli Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

@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.

@AayushSaini101 AayushSaini101 changed the title [Fix]: Json file supported in asyncapi new file command chore: json file supported in asyncapi new file command Mar 12, 2025
@sonarqubecloud
Copy link

Copy link
Collaborator

@AayushSaini101 AayushSaini101 left a comment

Choose a reason for hiding this comment

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

LGTM thanks

@github-project-automation github-project-automation bot moved this from To Triage to Backlog in CLI - Kanban Mar 12, 2025
@AayushSaini101
Copy link
Collaborator

/rtm

@asyncapi-bot asyncapi-bot merged commit 819b585 into asyncapi:master Mar 12, 2025
23 checks passed
@github-project-automation github-project-automation bot moved this from Backlog to Done in CLI - Kanban Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[BUG] A YAML file is being generated instead of a JSON file when using the asyncapi new file command for generating JSON file

3 participants