Skip to content

fix: add formData to ParameterLocation enum - #1726

Merged
lbroudoux merged 1 commit into
microcks:1.13.xfrom
varkart:fix/add-formdata-parameter-location-1668
Sep 11, 2025
Merged

lbroudoux merged 1 commit into
microcks:1.13.xfrom
varkart:fix/add-formdata-parameter-location-1668

Conversation

@varkart

@varkart varkart commented Sep 9, 2025

Copy link
Copy Markdown
Contributor

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

Also included necessary unit test for the changes.

Fixes #1668

@varkart

varkart commented Sep 9, 2025

Copy link
Copy Markdown
Contributor Author

@lbroudoux sry I had issues with previous PR I resolved branch issues and created this new one, could you plz re-review and consider this. thx

@lbroudoux
lbroudoux changed the base branch from master to 1.13.x September 9, 2025 08:48
@lbroudoux

Copy link
Copy Markdown
Member

@lbroudoux sry I had issues with previous PR I resolved branch issues and created this new one, could you plz re-review and consider this. thx

I'm sorry @varkart but this is not fixed because this PR still originates from master and targets master. When changing the base to 1.13.x (what I did at the moment), we received eight different commits with things that are related to master...

I think what you have to do is:

  • git clone your fork (you'll land on master)
  • git switch 1.13.x
  • git checkout -d
  • git commit and push -u to this new remote branch
  • then issue the PR

This change fixes issue microcks#1668 by adding formData as a valid
parameter location in both Java and TypeScript enums, preventing
IllegalArgumentException when importing OpenAPI specs with
formData parameters.

Also included necessary unit test for the changes.

Fixes microcks#1668

Signed-off-by: varkart <[email protected]>
@varkart
varkart force-pushed the fix/add-formdata-parameter-location-1668 branch from f682f01 to 97e7903 Compare September 10, 2025 23:24
@varkart

varkart commented Sep 10, 2025

Copy link
Copy Markdown
Contributor Author

@lbroudoux sry for the confusion, I cleaned it up, now my PR branch fix/add-formdata-parameter-location-1668 is based on 1.13.x

@lbroudoux lbroudoux left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@lbroudoux lbroudoux added this to the 1.13.0 milestone Sep 11, 2025
@lbroudoux
lbroudoux merged commit 8e75a54 into microcks:1.13.x Sep 11, 2025
@github-actions

Copy link
Copy Markdown

🎉 @varkart

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

Thanks a lot for your contribution @varkart ! 🎉

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.

Missing formData definition in enumeration ParameterLocation

2 participants