openapi-generator icon indicating copy to clipboard operation
openapi-generator copied to clipboard

[BUG][spring-http-interface]Missing Import when using spring-http-interface

Open zelaskoa opened this issue 3 years ago • 3 comments

Description

Generated Code has no Imports for

  • @Parameter
  • @Valid
  • ParameterIn.PATH
  • @Min

But these Annotations/Enumvalues

openapi-generator version

6.6.0

Generation Details

Using 'spring-http-interface'

zelaskoa avatar May 24 '23 14:05 zelaskoa

i checked with version 7.0 and still imports for @Parameter and @ParameterIn.PATH are missing

zelaskoa avatar Aug 28 '23 14:08 zelaskoa

I've just come across this issue myself even with current version 7.5.0, imports for @Parameter and @ParameterIn.HEADER are missing in the generated interface when using spring-http-interface

Quad-Plex avatar May 08 '24 13:05 Quad-Plex

Unfortunately this bug still exists!

To make it compilable, just use

 <annotationLibrary>none</annotationLibrary>
  <documentationProvider>none</documentationProvider>

alex-shamshurin avatar Mar 11 '25 16:03 alex-shamshurin