Skip to content

Conversation

@nlr234
Copy link
Contributor

@nlr234 nlr234 commented Aug 23, 2023

When you have a multipart that can contain file(s) and some DTO, OpenAPI generates the DTO as @RequestParam. This is wrong and should be @RequestPart instead.

# Conflicts:
#	boat-scaffold/pom.xml
#	boat-scaffold/src/test/java/com/backbase/oss/codegen/java/BoatSpringCodeGenTests.java
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@nlr234 nlr234 requested a review from walaniam August 23, 2023 11:33
@nlr234 nlr234 merged commit d965688 into main Aug 23, 2023
@nlr234 nlr234 deleted the bugfix/multipart-files-and-object branch August 23, 2023 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants