Skip to content

fix: generate optimized output corresponding to the input format#1908

Merged
asyncapi-bot merged 3 commits intoasyncapi:masterfrom
sekikn:fix-optimizer-to-address-json-input
Nov 27, 2025
Merged

fix: generate optimized output corresponding to the input format#1908
asyncapi-bot merged 3 commits intoasyncapi:masterfrom
sekikn:fix-optimizer-to-address-json-input

Conversation

@sekikn
Copy link
Contributor

@sekikn sekikn commented Nov 25, 2025

Description

  • With this PR, asyncapi optimize generates an optimized output corresponding to the input format (i.e., YAML for YAML, JSON for JSON)

Related issue(s)

Resolves #1907

@changeset-bot
Copy link

changeset-bot bot commented Nov 25, 2025

🦋 Changeset detected

Latest commit: 054f07c

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.

@github-actions
Copy link
Contributor

Changeset has been generated for this PR as part of auto-changeset workflow.

Please review the changeset before merging the PR.
---
'@asyncapi/cli': patch
---

fix: generate optimized output corresponding to the input format

- c756765: fix: generate optimized output corresponding to the input format

If you are a maintainer or the author of the PR, you can change the changeset by clicking here

Tip

If you don't want auto-changeset to run on this PR, you can add the label skip-changeset to the PR or remove the changeset and change PR title to something other than fix: or feat:.

Copy link
Member

@Souvikns Souvikns left a comment

Choose a reason for hiding this comment

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

Yeah looks good 💯

@github-project-automation github-project-automation bot moved this from To Triage to Backlog in CLI - Kanban Nov 26, 2025
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

Copy link
Collaborator

@Shurtu-gal Shurtu-gal left a comment

Choose a reason for hiding this comment

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

Great work.

@sonarqubecloud
Copy link

@Souvikns
Copy link
Member

/rtm

@asyncapi-bot asyncapi-bot merged commit df62a63 into asyncapi:master Nov 27, 2025
23 checks passed
@github-project-automation github-project-automation bot moved this from Backlog to Done in CLI - Kanban Nov 27, 2025
@sekikn
Copy link
Contributor Author

sekikn commented Nov 27, 2025

Thank you for reviewing and merging, everyone!

@sekikn sekikn deleted the fix-optimizer-to-address-json-input branch November 27, 2025 12:55
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] optimizing a JSON spec generates YAML content with .json suffix

5 participants