[BUG][Spring] Too many quotes in generated spring annotation (4.0.0-beta)
Created by: ftes
Description
Same issue as described for v3 in #1697, which was fixed for v3 in #708.
openapi-generator version
4.0.0-beta
OpenAPI declaration file content or url
Spec:
paths:
/pet:
get:
operationId: addPet
parameters:
- in: header
name: with-default
type: string
default: string
default ResponseEntity<Void> addPet(@ApiParam(value = "" , defaultValue=""string"")
Command line used for generation
maven clean install
Steps to reproduce
Add header parameter of type string with default value and build the spring server sources.
Related issues/PRs
#1697 #708