Bug Report Checklist
Description
When we include schema validations in an ArrayModel, like minItems, they are inset in the CodegenModel instance
openapi-generator version
5.0.0-SNAPSHOT
OpenAPI declaration file content or url
openapi: 3.0.0
info:
description: >-
This spec is mainly for testing Petstore server and contains fake endpoints,
models. Please do not use this for any other purpose. Special characters: "
\
version: 1.0.0
title: OpenAPI Petstore
license:
name: Apache-2.0
url: 'https://www.apache.org/licenses/LICENSE-2.0.html'
tags:
paths:
components:
schemas:
ArrayWithValidations:
type: array
minItems: 1
items: {}
Generation Details
Steps to reproduce
Related issues/PRs
Suggest a fix
Bug Report Checklist
Description
When we include schema validations in an ArrayModel, like minItems, they are inset in the CodegenModel instance
openapi-generator version
5.0.0-SNAPSHOT
OpenAPI declaration file content or url
Generation Details
Steps to reproduce
Related issues/PRs
Suggest a fix