Skip to content

1.0.0.M5

Pre-release
Pre-release

Choose a tag to compare

@hauner hauner released this 05 Jan 17:38
· 1213 commits to master since this release

improvements

  • #56/#57 support request body with multipart/form-data. For file upload the OpenAPI schema string with format binary must be type mapped to org.springframework.web.multipart.MultipartFile:

      map:
        paths:
          /api/upload:
            types:
              - from: string:binary
                to: org.springframework.web.multipart.MultipartFile
    

fixes

  • #58 fixed type of void, i.e. ResponseEntity<Void> instead of ResponseEntity<void>
  • #53 fixed missing import of mapped target type
  • #52 fixed missing @ResponseBody import
  • #49 fixed broken inline type names containing slashes
  • #47 fixed missing jackson import in generated enum model class