Open haliltprkk opened 1 month ago
I am experiencing same behaviour using python generator.
btw it was working with the swaggerCodegen with following yaml ⤵️
definitions:
Currency:
type: object
description: |
This is an empty class map it as you wish
Description
The model is not created while using the
Kotlin
generator if properties is empty in the yaml file, and For the models using this object assigned askotlin.Any
, For example,Created model ⤵️
yaml ⤵️
But if I add a properties for the yaml object it gets created without an error, For example,
Created model ⤵️
yaml ⤵️
it should be represented as an object in the yaml file cause different clients want to map it as they wish by using
typeMappings
.openapi-generator version
classpath "org.openapitools:openapi-generator-gradle-plugin:7.5.0" (But its same with the v7.8.0 as well)