Skip to content

fix: swagger import fail because body parameter is not exist - #1765

Merged
lbroudoux merged 1 commit into
microcks:1.13.xfrom
mmhudaya:fix/add-body-parameter-location-1763
Oct 2, 2025
Merged

lbroudoux merged 1 commit into
microcks:1.13.xfrom
mmhudaya:fix/add-body-parameter-location-1763

Conversation

@mmhudaya

@mmhudaya mmhudaya commented Oct 2, 2025

Copy link
Copy Markdown
Contributor

Description

Adding body as a valid parameter location in both Java and TypeScript enums, preventing IllegalArgumentException when importing Swagger specs with body parameters.

Related issue(s)

Fixes #1763

@lbroudoux

Copy link
Copy Markdown
Member

Thanks a lot! Can you please check and fix the DCO failure? The details give you the command to execute for fixing it.

This change fixes issue #1763 by adding body as a valid
parameter location in both Java and TypeScript enums, preventing
IllegalArgumentException when importing Swagger specs with
body parameters.

Also included necessary unit test for the changes.

Fixes #1763

Signed-off-by: Muttabi Hudaya <[email protected]>
@mmhudaya

mmhudaya commented Oct 2, 2025

Copy link
Copy Markdown
Contributor Author

Thanks a lot! Can you please check and fix the DCO failure? The details give you the command to execute for fixing it.

fixed, sorry for the inconvenience

@lbroudoux lbroudoux added this to the 1.13.0 milestone Oct 2, 2025
@lbroudoux
lbroudoux merged commit 142d17d into microcks:1.13.x Oct 2, 2025
@github-actions

github-actions Bot commented Oct 2, 2025

Copy link
Copy Markdown

🎉 @mmhudaya

You are now a Microcks community contributor! 💖

Thanks and congrats 🚀 on merging your first pull request! We are delighted and very proud of you! 👏

📢 If you're using Microcks in your organization, please add your company name to this list. 🙏 It really helps the project to gain momentum and credibility. It's a small contribution back to the project with a big impact.

If you need to know why and how to add yourself to the list, please read the blog post "Join the Microcks Adopters list and Empower the vibrant open source Community 🙌"

Kudos and please keep going, we need you 🙌

🌟 ~~~~~~~~~ 🌟

📢 If you like Microcks, please ⭐ star ⭐ our repo to support it!

🙏 It really helps the project to gain momentum and credibility. It's a small contribution back to the project with a big impact.

@lbroudoux

Copy link
Copy Markdown
Member

Thank you!

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