Bug Report Checklist
Description
Currently no more sets are generated if uniqueItems=true is set.
openapi-generator version
7.4.0/latest
OpenAPI declaration file content or url
If you post the code inline, please wrap it with
stringSet:
type: array
uniqueItems: true
items:
type: string
stringDefaultSet:
type: array
uniqueItems: true
default:
- A
- B
items:
type: string
stringEmptyDefaultSet:
type: array
uniqueItems: true
default: []
items:
type: string
Out put is
@Valid
private List<String> stringSet = new ArrayList<>();
@Valid
private List<String> stringDefaultSet = new ArrayList<>(Arrays.asList("A", "B"));
@Valid
private List<String> stringEmptyDefaultSet = new ArrayList<>();
Generation Details
Spring Boot Cloud
Steps to reproduce
Bug Report Checklist
Description
Currently no more sets are generated if uniqueItems=true is set.
openapi-generator version
7.4.0/latest
OpenAPI declaration file content or url
If you post the code inline, please wrap it with
Out put is
Generation Details
Spring Boot Cloud
Steps to reproduce