Skip to content

fix: export multipart and file-like params as FILE type#648

Merged
tangcent merged 1 commit intomasterfrom
fix/multipart-file-param-type
Apr 13, 2026
Merged

fix: export multipart and file-like params as FILE type#648
tangcent merged 1 commit intomasterfrom
fix/multipart-file-param-type

Conversation

@tangcent
Copy link
Copy Markdown
Owner

Summary

  • map MultipartFile and additional file-like Java/Spring/Servlet types to FILE
  • ensure special file marker is treated as file type
  • add/export tests for model attribute and direct MultipartFile parameters

Testing

  • not run locally

@github-actions github-actions bot added the type: bug Something isn't working label Apr 13, 2026
@github-actions
Copy link
Copy Markdown
Contributor

📦 Plugin has been packaged for this PR. You can download easy-api-3.0.3.252.0.zip from the GitHub Actions workflow run by clicking on the "Artifacts" dropdown.

@tangcent tangcent force-pushed the fix/multipart-file-param-type branch from 71a9f4c to 6bb17ae Compare April 13, 2026 01:58
@github-actions
Copy link
Copy Markdown
Contributor

📦 Plugin has been packaged for this PR. You can download easy-api-3.0.3.252.0.zip from the GitHub Actions workflow run by clicking on the "Artifacts" dropdown.

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 13, 2026

Codecov Report

❌ Patch coverage is 46.66667% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 53.543%. Comparing base (27bd59f) to head (6bb17ae).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
...com/itangcent/easyapi/psi/DefaultPsiClassHelper.kt 0.000% 6 Missing ⚠️
.../kotlin/com/itangcent/easyapi/psi/type/JsonType.kt 75.000% 0 Missing and 2 partials ⚠️
Additional details and impacted files

Impacted file tree graph

@@               Coverage Diff               @@
##              master      #648       +/-   ##
===============================================
+ Coverage     53.492%   53.543%   +0.051%     
- Complexity      2332      2347       +15     
===============================================
  Files            228       228               
  Lines          13273     13281        +8     
  Branches        2991      2998        +7     
===============================================
+ Hits            7100      7111       +11     
- Misses          4856      4857        +1     
+ Partials        1317      1313        -4     
Flag Coverage Δ
unittests 53.543% <46.667%> (+0.051%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...m/itangcent/easyapi/psi/type/SpecialTypeHandler.kt 81.818% <100.000%> (ø)
.../kotlin/com/itangcent/easyapi/psi/type/JsonType.kt 45.238% <75.000%> (+2.930%) ⬆️
...com/itangcent/easyapi/psi/DefaultPsiClassHelper.kt 52.826% <0.000%> (-0.231%) ⬇️

... and 3 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 27bd59f...6bb17ae. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tangcent tangcent merged commit 208b0d1 into master Apr 13, 2026
12 checks passed
@tangcent tangcent deleted the fix/multipart-file-param-type branch April 13, 2026 05:31
@github-actions github-actions bot mentioned this pull request Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant